🚀 Backend komplett implementiert

Features:
- Auth mit JWT + Argon2 (Login, Register, Refresh)
- Rollen-System (Chef/Disponent/Mitarbeiter)
- User Management mit Berechtigungen
- Aufträge mit Zuweisungen
- Verfügbarkeitsplanung
- Stundenzettel mit Foto-Upload Support
- Modulares System mit Config
- Entwickler-Panel Endpoints

Tech:
- Deno + Oak
- PostgreSQL
- CORS enabled
This commit is contained in:
2026-02-20 15:12:06 +00:00
parent a07c2ad858
commit ee19e45171
16 changed files with 2079 additions and 2 deletions

11
.env.example Normal file
View File

@@ -0,0 +1,11 @@
# Database
DATABASE_URL=postgres://secu:SeCu2026!SecureDB@localhost:5434/secu
# JWT Secret (change in production!)
JWT_SECRET=secu-super-secret-key-change-in-production
# Server Port
PORT=8004
# CORS Origins (comma-separated)
CORS_ORIGINS=http://localhost:3006,https://secu.kronos-soulution.de