- Deploy the exercise.wwwapi API project to a Docker Container
- Fork this repository
- Clone your fork to your machine
- Open the project
Create an API with the usual GET/PUT/POST/DELETE endpoints.
The API should serve user data for students attending a bootcamp.
The data for students should include:
- Unique ID
- First Name
- Last Name
- Date of Birth
- Course Title
- Start Date for Course
- Average Grade
Your API should connect to an ElephantSQL database instance that can be used for storing the data.
Create a Dockerfile
and any other associated files to allow you to deploy the application using a Docker Container.
Make sure your appsettings.json
file is on .gitignore
so that it doesn't contain your private database connection strings. To assess this we will clone your repository, add our own credentials to the cloned repository and use those to test that the application works as expected.
In addition to the Student details add in details of different Courses and reference them from the Student details as a Foreign Key relationship. The endpoints for Courses should be completed as expected.