40b67f2a5f
Seed: skip if DB already has data instead of wiping it
...
The seed's deleteMany() chain didn't cover Ticket (or other tables
that now reference User), so it started failing with a foreign key
violation once real ticket data existed. Rather than cascading the
delete (which would wipe real data on every container restart), seed
now only runs against an empty database and is a no-op otherwise.
2026-08-13 07:18:13 +00:00
d1b2447d92
Fix seed.ts module resolution: move to backend/prisma/
...
ts-node resolved node_modules relative to the script path, so running
from prisma/seed.ts (outside backend/) never found bcryptjs or
@prisma/client in backend/node_modules — the seed silently failed on
every container start. Moving the script under backend/prisma/ fixes
resolution; also adds a missing .gitignore for node_modules.
2026-08-13 07:16:11 +00:00
ca6d851a70
Dateien nach "backend/src/routes" hochladen
2026-08-12 21:55:35 +00:00
b25f5f0cdb
Dateien nach "backend/src" hochladen
2026-08-12 21:53:18 +00:00
1dc1eade8f
Dateien nach "backend/src/routes" hochladen
2026-08-12 21:38:33 +00:00
e33aadaa90
Dateien nach "backend/src/routes" hochladen
2026-08-12 21:38:03 +00:00
b7cbac9eb3
Dateien nach "backend/src" hochladen
2026-08-12 21:31:52 +00:00
9c99d3b631
Add cleaning-calendar and cleaning-absences endpoints
2026-08-12 19:37:04 +00:00
669aed188c
Add tenants list endpoint for cleaning-task assignment
2026-08-12 18:56:47 +00:00
869aeb2a2c
Mount cleaning-tasks router
2026-08-12 18:51:47 +00:00
57ee85292c
Add Putzplan cleaning-tasks route
2026-08-12 18:50:23 +00:00
ff7e815704
Mount tickets router
2026-08-12 18:25:09 +00:00
efcbcab0d8
Restrict cockpit summary to own data + shared areas for tenants
2026-08-12 18:24:28 +00:00
ffea782e96
Add tickets API with room-scoped access control for tenants
2026-08-12 18:22:42 +00:00
bd96bb2db1
add backend/src/routes/invitations.ts
2026-08-12 17:48:25 +00:00
b20eec366f
update backend/src/routes/auth.ts
2026-08-12 17:45:55 +00:00
e1b3ea65ba
update backend/src/middleware/auth.ts
2026-08-12 17:45:54 +00:00
b7df0455a5
update backend/src/routes/cockpit.ts
2026-08-12 17:45:53 +00:00
b2428ad77e
update backend/src/app.ts
2026-08-12 17:45:52 +00:00
3e61a3175f
update backend/package.json
2026-08-12 17:45:52 +00:00
efa8e4a8af
add backend/scripts/send-test-webhook.ts
2026-08-12 16:36:30 +00:00
fa1ed531e3
add backend/src/jobs/dailyDunningJob.ts
2026-08-12 16:35:03 +00:00
d6f1bc781a
add backend/src/services/notificationService.ts
2026-08-12 16:35:02 +00:00
1f6f9d5842
add backend/src/modules/banking/paymentService.ts
2026-08-12 16:35:01 +00:00
a7a41b16e7
add backend/src/modules/banking/matching.ts
2026-08-12 16:31:07 +00:00
29dbc8ba8f
add backend/src/modules/banking/signature.ts
2026-08-12 16:31:06 +00:00
d3b1ed4049
add backend/src/modules/banking/types.ts
2026-08-12 16:31:05 +00:00
b0989f31f2
add backend/src/routes/cockpit.ts
2026-08-12 16:28:51 +00:00
17abbf2a33
add backend/src/routes/bankingWebhook.ts
2026-08-12 16:28:50 +00:00
5c9a5e4f08
add backend/src/app.ts
2026-08-12 16:28:50 +00:00
5ee7c75b63
add backend/Dockerfile
2026-08-12 16:26:09 +00:00
24d180e0e8
add backend/tsconfig.json
2026-08-12 16:26:09 +00:00
d2487f0d6d
add backend/package.json
2026-08-12 16:26:08 +00:00