[![Build Status][build-shield]][build-url] [![NuGet Downloads][nuget-shield]][nuget-url] [![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![License][license-shield]][license-url] [![LinkedIn][linkedin-shield]][linkedin-url]
TirsvadCLI Authentication Server
Overview
A .NET authentication server implementing Clean Architecture. Supports local, network, and cloud deployment (Azure/AWS). Containerization via Docker is available.
Project Structure
- src/ — Source code
- TirsvadCLI.AuthenticationServer.Domain — Domain models
- TirsvadCLI.AuthenticationServer.Core — Business logic, CQRS
- TirsvadCLI.AuthenticationServer.Infrastructure — Data, external services
- TirsvadCLI.AuthenticationServer.Api — ASP.NET Core Web API
- tests/ — Unit and integration tests
- docs/ — Documentation
- LocalNuget/ — Local NuGet packages
Build & Run
- Build:
dotnet build TirsvadCLI.AuthenticationServer.slnx
- Test:
dotnet test TirsvadCLI.AuthenticationServer.slnx
- Run (API):
dotnet run --project src/TirsvadCLI.AuthenticationServer.Api
Docker
- Use docker-compose.yml and Dockerfile for containerization.
Dependencies
- MediatR (CQRS)
- EF Core
- Microsoft Identity
- FluentValidation
- AutoMapper
- Swashbuckle/Swagger (API docs)
- xUnit (testing)
Documentation
- See docs/ for guides and API reference.
- Doxygen config in Doxyfile.
Contributing
- Follow Clean Architecture principles.
- Place tests in tests/, mirroring main projects.
- Use solution-wide MSBuild props/targets.
License
See LICENSE file for details.