.Net Core API to retrive data from MongoDB
This is a primitive boiler plate for a .NET Core Web API with Docker that interacts with MongoDB and performs CRUD operations.
This API obtains data from the MongoDB database hosted by DBaaS providers like mLab, Azure, AWS,etc. This can be done by using the database settings in appsettings.json. For different databases, different connection detail sets.
Things to do:
- Have a valid DB settings like connection host URL, credentials from DBaaS Provider
- Rename file appsettings_sample.json to appsettings.json
- Replace the dummy values with actual values
Future Enhancements:
- User authentication and authorisation module addition
- Docker support for different runtimes
- CORS support wherever required
- Global Exception Handling
- Add DI for Data Access Classes