DeutschLernen/GermanApp/Shared
Lasse Rune Hansen 4ee2b2568a feat(backend/infra): add health checks, CORS, Serilog logging, and exception middleware
- Add Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore package
- Add Serilog.AspNetCore and Serilog.Sinks.Console packages
- Configure Serilog with bootstrap logger and configuration
- Add Health Checks endpoint at /health with DbContext check
- Configure CORS with AllowAll policy for development
- Create ApiResponse, ApiErrorResponse, and PaginatedResponse models
- Create ExceptionMiddleware for global error handling
- Restructure Program.cs with try-catch-finally for proper logging

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-05-31 19:52:00 +02:00
..
Middleware feat(backend/infra): add health checks, CORS, Serilog logging, and exception middleware 2026-05-31 19:52:00 +02:00
Models feat(backend/infra): add health checks, CORS, Serilog logging, and exception middleware 2026-05-31 19:52:00 +02:00