NET6_Clean-OnionArchitectureAPI
NET6_Clean-OnionArchitectureAPI copied to clipboard
NET6,CQRS,Caching,Logging,Repository Pattern,UnitOfWork,JWT,Refresh Token,Email Confirmation,Forgot Password
NET6 Clean-Onion Architecture Project
New features added v2 branch
Features
- .NET6
- Entity Framework Core – Code First
- Repository Pattern
- UnitOfWork Pattern
- CQRS Pattern
- Mediatr
- CQRS Pipeline Caching (Redis,InMemory configure from appsettings.json file)
- Response Wrappers
- Fluent Validation
- Validation Filter
- Serilog Logging
- Automapper
- Docker
- JWT Authentication,Refresh Token
- Complete User Management (Register / Forgot Password / Confirmation Mail) Without Identity
- Role Based Authorization
- Database Seeding
- Custom Exception Handling Middleware
How To Start .Net API
For api, you must edit the appsettings.json file email settings eg.
Docker support added you can start project with docker, first you must look docker compose yaml file rediscache settings eg. and write
docker compose -f "docker-compose.yml" up -d --build
When the project is up, the migrations run automatically
After a database will be created.
Default Admin Account :
Username : admin
Password : 159357456qW