Tip
You can to use postman collection for testing API.
It placed to the files/ directory.
- Download this project:
git clone https://github.com/NikolaiProgramist/effective-mobile-test-assignment.git
cd effective-mobile-test-assignment-
Select setup type:
-
Now you can use the API at: http://localhost:8000/api/
Run setup command:
make setupRun server:
make startChange the database environment variables in the .env.example as specified here:
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=effective_mobile_test_assignment
DB_USERNAME=root
DB_PASSWORD=rootCopy .env.example to .env:
cp .env.example .envRun docker-compose.yml:
docker compose up