Commit Graph

3 Commits

Author SHA1 Message Date
Martin Švrčina
982b6d5fa6 Add NSwag for automatic TypeScript API client generation
- Replace Swashbuckle with NSwag.AspNetCore + NSwag.MSBuild
- Configure OpenAPI document in Program.cs via AddOpenApiDocument
- Add nswag.json: aspNetCoreToOpenApi → Axios TypeScript client
- Post-build target uses NSwagExe_Net80 to run on correct runtime
- Client generated to frontend/src/api/apiClient.ts (gitignored)
- Add axios to frontend dependencies

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 00:36:30 +01:00
Martin Švrčina
6b58dfa4e4 Add BaseModel and AppDbContext with auto timestamps
- BaseModel in Domain.Common with Id, Created, Updated, Deleted fields
- AppDbContext in Infrastructure.Persistence overrides SaveChanges/Async
  to automatically set Created/Updated via ChangeTracker
- Added EF Core 8 and Pomelo.EntityFrameworkCore.MySql 8 packages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 00:28:31 +01:00
Martin Švrčina
6cad42dbac Scaffold project structure: .NET 8 Clean Architecture + Vue 3 Vuetify 3
- Solution with API, Application, Domain, Infrastructure projects
- Clean Architecture project references configured
- Vue 3 + Vuetify 3 + TypeScript frontend scaffolded

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 00:21:58 +01:00