To complete this challenge, you need to ensure all route returns a similar response object as described in our API guide. To achieve this goal
- You will have to fix the existing bugs
- Implement the incomplete functions,
- Add test cases for the main functions of the system.
- Add Dockerfile to the root of the project to run the app in docker environment
In order to install and run this project locally, tou need to install all necessary for running Laravel framework software. See server requirements. Also, you need to install Mysql Server.
-
Clone this repository
-
Follow Laravel installation guide
-
Restore mysql dump
mysql -u <dbuser> -D <databasename> -p < ./database/database.sql
- Run
php artisan serve
to start the app in development
Check here
Build image
docker build -t turing_app .
Run container
docker run -p 80:80 -v $(pwd):/var/www/laravel turing_app