Skip to content

NikolaiProgramist/effective-mobile-test-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is test-assignment for Effective Mobile to vacancy Junior PHP-developer

tests Quality Gate Status Coverage

Tip

You can to use postman collection for testing API. It placed to the files/ directory.

Setup

  1. Download this project:
git clone https://github.com/NikolaiProgramist/effective-mobile-test-assignment.git
cd effective-mobile-test-assignment
  1. Select setup type:

  2. Now you can use the API at: http://localhost:8000/api/

✏️ SQLite

Run setup command:

make setup

Run server:

make start

🐋 Docker

Update the database environment variables in the .env.example file as follows:

DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=effective_mobile_test_assignment
DB_USERNAME=root
DB_PASSWORD=root

Copy .env.example to .env:

cp .env.example .env

Run docker-compose.yml:

docker compose up

Run tests

make test

Run linter

make lint

About

Test assignment for Effective Mobile

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages