- Added convertBigInt helper in db/postgres.ts
- Converts all BigInt values to Number in query results
- Simplified admin.ts routes (removed workarounds)
- All APIs now work correctly
- Add jsonResponse helper for BigInt conversion
- Cast all COUNT() and ID fields to text in SQL
- Convert back to Number() in response
- Fix partnerships response format
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