This repo will showcase the use of Clean Architecture in.NetCore Application using CQRS - Mediatr and Repository pattern. This Project can also act as a template for creating new APIs using CQRS and Repository pattern.
- Make sure that database connection string is set up properly in AppSettings.Json
- dotnet build
- Run Migrations:
- add-migration InitialMigration
- update-database It will create the tables and seed data in the both product and category tables
- dotnet run
- Swagger will open with all the APIs