DeutschLernen/GermanApp
Lasse Rune Hansen 3caee4c21e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat(backend/presentation): add LevelsController and LessonsController for Lesson Management
- Created LevelsController.cs with full CRUD operations
  - GET /api/levels - all levels
  - GET /api/levels/{id} - level by ID
  - GET /api/levels/by-code/{code} - level by code
  - GET /api/levels/first - first level
  - GET /api/levels/next/{id} - next level
  - POST /api/levels - create level (Admin)
  - PUT /api/levels/{id} - update level (Admin)
  - DELETE /api/levels/{id} - delete level (Admin)

- Created LessonsController.cs with full CRUD and filtering
  - GET /api/lessons - all lessons
  - GET /api/lessons/ordered - ordered lessons
  - GET /api/lessons/{id} - lesson by ID
  - GET /api/lessons/by-level/{levelId} - lessons by level
  - GET /api/lessons/beginner - beginner lessons
  - GET /api/lessons/advanced - advanced lessons
  - GET /api/lessons/first/{levelId} - first lesson in level
  - GET /api/lessons/next/{id} - next lesson
  - GET /api/lessons/accessible/{userId} - accessible lessons
  - GET /api/lessons/unlocked/{userId}/{lessonId} - check unlock
  - POST /api/lessons - create lesson (Admin)
  - PUT /api/lessons/{id} - update lesson (Admin)
  - DELETE /api/lessons/{id} - delete lesson (Admin)

- Added authorization: [Authorize] for most endpoints, [AllowAnonymous] for read-only
- Added Admin role requirement for write operations

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-09 07:20:29 +02:00
..
Application feat(backend/application): add DTOs and services for Lesson Management 2026-06-08 20:51:38 +02:00
Domain fix(backend): update Lesson entity and related code to use LevelId foreign key 2026-06-07 21:25:46 +02:00
Infrastructure feat(backend/database): add migrations for Level, Lesson, and UserProgress tables 2026-06-08 17:44:45 +02:00
Presentation feat(backend/presentation): add LevelsController and LessonsController for Lesson Management 2026-06-09 07:20:29 +02:00
Properties Initial commit: GermanApp with Clean Architecture 2026-05-31 18:14:51 +02:00
Shared feat(backend/infra): add health checks, CORS, Serilog logging, and exception middleware 2026-05-31 19:52:00 +02:00
.dockerignore feat(backend/infra): add Docker configuration for Phase 3 2026-06-05 11:46:27 +02:00
appsettings.Development.json feat(backend/infra): configure PostgreSQL database for EF Core 2026-05-31 19:40:34 +02:00
appsettings.json feat(backend/auth): implement User Authentication feature 2026-06-05 13:27:43 +02:00
appsettings.Production.json feat(backend/infra): configure PostgreSQL database for EF Core 2026-05-31 19:40:34 +02:00
appsettings.Staging.json feat(backend/infra): configure PostgreSQL database for EF Core 2026-05-31 19:40:34 +02:00
Dockerfile fix(infra): remove problematic health checks for now 2026-06-05 13:03:10 +02:00
GermanApp.csproj feat(backend): complete unit tests for User Authentication feature 2026-06-05 17:07:15 +02:00
GermanApp.http Initial commit: GermanApp with Clean Architecture 2026-05-31 18:14:51 +02:00
Program.cs feat(backend/application): add DTOs and services for Lesson Management 2026-06-08 20:51:38 +02:00