Commit Graph

5 Commits

Author SHA1 Message Date
Hermes Agent
48bf9c7088 Patch API URL in JS bundle: /api/v1 → api.fahrschultermin.de/api/v1 2026-05-18 23:50:24 +02:00
Hermes Agent
2d6c0ad3aa Split API and frontend, migrate SQLite to PostgreSQL
- api.fahrschultermin.de: full API entry point with CORS + session auth
- fahrschultermin.de: frontend only, no more /api/v1 routing
- Database.php: PostgreSQL support (pgsql driver + lastval())
- All repositories: use Database::lastInsertId() for PG compatibility
- config/app.php: PostgreSQL connection settings + CORS config
- bootstrap.php: pass full $config to Database::configure()
- public/index.php: fetch-patch to redirect /api/v1 to api.fahrschultermin.de
- database/schema_pgsql.sql: full PostgreSQL schema (BIGSERIAL)
- database/import_pgsql.sql: 518 rows migrated from SQLite
2026-05-18 23:50:00 +02:00
Hermes Agent
33d61c2fc7 Phase 1 complete - API + Frontend deployed, DB migrated 2026-05-18 23:28:25 +02:00
Hermes Agent
4f0ab5c518 Phase 1: API + Frontend Skelett 2026-05-18 23:08:54 +02:00
Hermes Agent
22206d361a Initial commit: sync from server - all domains and code 2026-05-18 22:12:40 +02:00