ASP.NET Core 9.0 PostgreSQL JWT Bearer Auth

Dukan Web & API Portal

Welcome to Dukan. High-performance RESTful APIs and MVC application with PostgreSQL database persistence and secure JWT authentication.

Core API Endpoints

GET /api/v1/health
Public
POST /api/v1/auth/register
Public
POST /api/v1/auth/login
Public
GET /api/v1/auth/me
Bearer Token
GET /api/v1/sync/status
Bearer Token

Specification Overview

  • Architecture: ASP.NET Core MVC with REST API Controllers
  • Database: PostgreSQL (Entity Framework Core 9 + Npgsql)
  • Authentication: JWT Bearer tokens with secure BCrypt password hashing
  • Error Contract: Uniform { "error": "...", "message": "..." } responses
Visit /swagger to test interactive API calls directly from your browser.