Sample API Project

A REST API for sign-in and data management, with JWT authentication and PostgreSQL behind it.

About the project

A reference API I put together as a solid starting point for new projects, with clean architecture, JWT authentication, refresh tokens, and structured logging set up from day one.

What I did

  • Rotated refresh tokens and revoked them on logout.
  • Kept a layered structure: controllers, then services, then repositories.
  • Generated OpenAPI (Swagger) docs straight from XML comments.