Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 723 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 723 Bytes

.NET 8 Clean Architecture Template

.NET 8 Clean Architecture + DDD + CQRS + Specifications + AutoMapper + Domain Events + Testing + Identity + Redis

Docker

docker-compose up @ project root

Migrations

dotnet ef migrations add <migration_name> --project .\src\Infrastructure\Infrastructure.csproj --startup-project .\src\WebApi\WebApi.csproj

Database

dotnet ef database update --project .\src\Infrastructure\Infrastructure.csproj --startup-project .\src\WebApi\WebApi.csproj or just let ApplyMigrations extension migrate automatically on run/watch.

There's stuff that should've been ignored kept public on purpose, like docker-compose's .env variables, for discoverability purposes.