This is a POC that I realized to make a project proposal.
You can have a live demo available here: https://covid19-bd.azurewebsites.net/#/home
With the code?
- Clone the repository
- Open the project in VS or VS Code.
- Launch it (The first launch can take time as it will download the dependency for Angular (npm install) and then start the front-end)
- Enjoy it
I like to use Clean-Architecture to do my projects. To explain it simply, the clean-architecture is built by separating the code into 4 layers:
- Domain (Entities/Objects => Enterprise logic)
- Application (Business Logic)
- Infrastructure (Database, Configuration (Entity-Framework),...)
- Presentation (API, Client => Front-End = Angular in our case)
You can learn more about it at https://www.youtube.com/watch?v=5OtUm1BLmG0 a video of 1 hour that will change your life.
- CQRS with MediatR (Command Query Responsibility Segregation)
- Validation with FluentValidation
- Automated testing with xUnit.net, Moq, and Shoudly
- ... Cleaner code starts now :).
.Net Core 3.1
Angular 9
SQL Server
You can see a version of the MVP (Minimum Valuable Product) here: https://covidx.azurewebsites.net/