WG- & Vermieter-Management-App (Backend + Dashboard)
Implements the previously-deferred "Bewertungssystem für Zwischenmieter" requirement, which existed only as a vague idea with no model, route, or UI. Design (confirmed with user): any authenticated user can rate any tenant (1-5 + optional comment), freestanding (not tied to a contract, creatable any time), visible only to LANDLORD/ADMIN — tenants can submit ratings but not view them, to keep WG-internal friction out of the open. - prisma: TenantRating model + User relations. Also pins the Prisma Client `output` path explicitly: since schema.prisma lives at the repo root (no package.json there) while node_modules only exists under backend/, `prisma generate`'s root-inference walked up past the repo and wrote into an unrelated ancestor directory when invoked from a fresh checkout. The explicit relative output keeps repo-root schema + backend-only deps working the same locally and in Docker. - backend: GET/POST /v1/ratings (role-gated read), GET /v1/ratings/tenants (name+room only, any authenticated user, for the picker). - dashboard: rating form for everyone, landlord-only ratings/summary view. |
||
|---|---|---|
| backend | ||
| prisma | ||
| web-dashboard | ||
| .gitignore | ||
| README.md | ||
wg-verwaltung
WG- & Vermieter-Management-App (Backend + Dashboard)