Feel free to use this project as a boilerplate for your WebApi projects
- Open the solution, launch it.
- Go to http://localhost:51881/swagger if Visual Studio has not already brought you there.
- The created user has id 1
- Unity is an IoC container that helps you to make abstraction between your repository implementation and your controlers. Using interfaces is also good because it helps you to test your controlers by faking the repo behaviour
- Swagger helps you to expose your API's routes. I use it for tests, feel free to remove it in production.
- Dapper is a micro ORM that helps you to access your database
- I chose SQLite to make the project actually work, but you probably want to change that