WG- & Vermieter-Management-App (Backend + Dashboard)
Go to file
bernd 48fb4118fd Compress ID/Schufa photos client-side before upload, raise server limit further
Server-side testing showed the 30mb express.json limit itself was
fine for payloads up to 30MB, but real phone photos (15-25MB each,
×3 files) can still exceed that. Adds readFileAsCompressedDataUrl:
downscales image uploads to max 1800px on the long edge at 0.82 JPEG
quality via canvas before converting to a data URL — typically
shrinks a multi-MB phone photo to a few hundred KB, which is more than
sufficient resolution for a legible ID/Schufa scan. PDFs pass through
uncompressed. Also raises the raw pre-upload size check to 25MB/file
and the server body limit to 50mb as a safety margin for PDF-heavy
cases the client-side compression doesn't touch.
2026-08-13 11:52:12 +00:00
backend Compress ID/Schufa photos client-side before upload, raise server limit further 2026-08-13 11:52:12 +00:00
prisma Require phone, current address and ID copy for new tenants 2026-08-13 11:25:57 +00:00
web-dashboard Compress ID/Schufa photos client-side before upload, raise server limit further 2026-08-13 11:52:12 +00:00
.gitignore Fix seed.ts module resolution: move to backend/prisma/ 2026-08-13 07:16:11 +00:00
README.md Initial commit 2026-08-12 16:24:25 +00:00

wg-verwaltung

WG- & Vermieter-Management-App (Backend + Dashboard)