All projectsA · Case study · ASP.NET Core 10 Clean Architecture API
Library Management API
A Clean Architecture REST API with JWT refresh tokens, three roles, and binary search and a priority queue where they fit.
B
Overview
- What it is
- A library API for books, members and loans.
- Why it exists
- To learn Clean Architecture and the .NET stack by building something with real rules.
- The problem
- Keep domain rules independent of the web framework and the database.
- Who uses it
- Librarians, members and administrators.
C
Given / Find
Approach
Domain, application, infrastructure and API layers with dependencies pointing inward. JWT with refresh tokens and three roles. EF Core over SQLite. Binary search and a priority queue are used where the access pattern calls for them.
D
Stack
- Backend
- C#ASP.NET Core 10Clean Architecture
- Database
- EF CoreSQLite
- Auth & security
- JWT + refresh tokensThree roles