shinkan-jinkendo/backend/routers
Lars 8e027e02bb
Some checks failed
Deploy Development / deploy (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 5s
Test Suite / playwright-tests (push) Failing after 14s
feat: Clubs & Organization Management complete
Backend:
- Created routers/clubs.py with full CRUD
  - Clubs: list, get, create, update, delete (admin only)
  - Divisions: list, create, update, delete (admin only)
  - Training Groups: list, get, create, update, delete (admin/trainer)
- Registered clubs router in main.py
- Permission checks: admin for clubs/divisions, trainer for groups

Frontend:
- Complete ClubsPage with 3 tabs (Vereine, Sparten, Gruppen)
- Role-based UI (admin sees all actions, trainer can manage groups)
- Full CRUD forms with modals
- Mobile-responsive card layouts
- Updated api.js with all club/division/group functions

Migration already exists: 002_organization.sql (clubs, divisions, training_groups)

Next: Skills & Methods display (read-only)
2026-04-22 16:48:02 +02:00
..
auth.py fix: Change created to created_at in sessions INSERT 2026-04-21 21:18:09 +02:00
clubs.py feat: Clubs & Organization Management complete 2026-04-22 16:48:02 +02:00
exercises.py feat: Exercise CRUD complete 2026-04-22 16:44:32 +02:00
profiles.py fix: Add /profiles/me endpoint for session persistence 2026-04-22 15:46:40 +02:00