This project has you building an API for your Exomine client to consume.
- Use the instructions from the first column of the .NET curriculum to create a webapi called
ExomineAPI
in your csharp directory. - Add a
Models
folder, and create the classes consistent with the ERD for your client side project. - Create a DTOs folder inside the Models folder, and add DTOs for each of the models. They can have identical properties as their corresponding Model classes for now.
- Delete the weather-forecast related code.
- Create collections at the top of
Program.cs
as the database for this project. Make sure that you have populated those collections with the data they need. You can get this data from the olddatabase.json
file you won't be using any longer.
Once you feel you have replicated the behavior of your old application, you can delve into stretch goals. MVP first!
Some suggestions:
- Better, faster, stronger CSS (possibly with a framework!)
- More functionality
- Refactor the client