How p3t3r276/todolist-net8-fastendpoint works
Project type and purpose
• This is a full‐stack “ToDo List” application focusing (in the provided codebase) on the backend:
• ASP.NET Core Minimal API (.NET 8) using FastEndpoints
• Clean/Onion‐style architecture with separate layers (API, Application, Domain, Persistence)
• EF Core backends for SQL Server and SQLite, with planned extensions (MongoDB, Identity, Docker)
• The README describes testing EF Core integration, FastEndpoints, MediatR, and outlines future features (validation, identity, microservices).
File structure
Top‐level directories:
• backend/ – contains the entire .NET solution
– FastTodo.API (Minimal API project with HTTP endpoints)
– FastTodo.Application (CQRS handlers, request/response models)
– FastTodo.Domain (domain entities)
– FastTodo.Infrastructure (base DbContext abstraction)
– Persistence/EF (SQL Server context, migrations)
– Persistence/SQLite (SQLite context, migrations)
• docs/ – documentation folder
Key patterns:
• Layered Clean Architecture (API → Application → Domain → Persistence)
• CQRS via MediatR in Application layer
• FastEndpoints powering Minimal API routing
README for additional insights
• Technology stack: .NET 8, FastEndpoints, EF Core 9, MediatR, Angular front end
• Future integrations: FluentValidation, Docker, ASP.NET Identity, microservices for identity DB