1.5 KiB
1.5 KiB
CLAUDE.md
ASP.NET Core 8 Web API with Clean Architecture (CQRS + MediatR).
Project map
src/Api/- ASP.NET Core controllers, middleware, DI setupsrc/Application/- MediatR handlers, validators, DTOssrc/Domain/- Entities, value objects, domain eventssrc/Infrastructure/- EF Core, external services, file storagetests/- Unit and integration tests
Commands
| Command | What it does |
|---|---|
dotnet build |
Build solution |
dotnet test |
Run all tests |
dotnet run --project src/Api |
Start API locally |
dotnet ef migrations add <Name> -p src/Infrastructure |
Create EF migration |
dotnet ef database update -p src/Infrastructure |
Apply migrations |