A high-performance, modular, and secure RESTful API built with FastEndpoints and structured using the Clean Architecture pattern. This API integrates modern tooling like Mapperly, FluentValidation, and EF Core with PostgreSQL, and supports JWT-based authentication and authorization.
The project follows Clean Architecture, separating concerns into well-defined layers:
- FastEndpoints – Fast and minimalist .NET API framework
- Mapperly – Zero-runtime overhead object mapping
- FluentValidation – Strongly-typed model validation
- EF Core – ORM for PostgreSQL
- PostgreSQL – Relational database backend
- JWT – Token-based authentication
- Clean Architecture – For separation of concerns and scalability
Authentication is handled via JWT Bearer tokens. Secure endpoints require a valid token passed in the Authorization header:
User registration and login endpoints are exposed for token generation.
Let me know if you'd like me to include example endpoint definitions or Docker integration in the README.