implement Clean Architecture and user authentication

- Add LoopFit.Domain with entities (ApplicationUser, Workout, CalorieEntry, VitalData), enums (WorkoutType), and interfaces (IJwtTokenGenerator, IUserRepository, IWorkoutRepository)
- Add LoopFit.Application with auth DTOs, service interfaces, and DI setup
- Add LoopFit.Infrastructure with EF Core DbContext (PostgreSQL), ASP.NET Core Identity, JWT token generation, and repository implementations
- Add AuthController with register/login/me endpoints and JWT Bearer auth
- Add MAUI auth services (AuthService, TokenStorageService) and Login/Register Blazor pages
This commit is contained in:
2026-08-26 00:50:02 +02:00
parent ada55d4d92
commit b12e557e1a
69 changed files with 1253 additions and 146 deletions
+3 -2
View File
@@ -7,7 +7,8 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\LoopFit.Shared\LoopFit.Shared.csproj"/>
<ProjectReference Include="..\src\LoopFit.Application\LoopFit.Application.csproj"/>
<ProjectReference Include="..\src\LoopFit.Infrastructure\LoopFit.Infrastructure.csproj"/>
</ItemGroup>
</Project>
</Project>