NextPost is a modern blogging backend built with .NET 8. It provides a secure and scalable Web API for managing blog posts and comments, with robust authentication powered by JWT and refresh tokens.
- π Authentication & Authorization β Secure JWT-based login with refresh token support.
- π Posts β Create, update, fetch, and delete blog posts.
- π¬ Comments β Add, edit, and delete post comments.
- π‘οΈ JWT Refresh Tokens β Secure, cookie-based token refresh flow.
- π§° Global Exception Handling β Uniform error responses across the API.
- π§ͺ Validation β Input validation using FluentValidation.
- π Object Mapping β DTO transformation with AutoMapper.
- π Logging β Structured logging powered by Serilog.
- Language: C#
- Framework: ASP.NET Core 8 (Web API)
- Database: SQL Server
- ORM: Entity Framework Core
- Authentication: JWT & Refresh Token
- Validation: FluentValidation
- Mapping: AutoMapper
- Logging: Serilog
π‘ Open to contributions β feel free to fork and improve NextPost!

