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, and add test cases for the main functions of the system.
In order to install and run this project locally, you would need to have the following installed on you local machine.
-
Clone this repository
-
Navigate to the project directory
cd src/
-
Create a virtual environment
-
Install dependencies
dotnet restore
-
Edit
src\TuringBackend.Api\appsettings.json
database credentials to your database instance -
Create a MySQL database and run the sql file in the database directory to migrate the database
mysql -u <dbuser> -D <databasename> -p < ./sql/database.sql
-
Run development server
dotnet run
- Check here
- Visit `http://127.0.0.1:80/docs/
Build image
docker build -t turing_app .
Run Image
docker run --rm -p 80:80 turing_app