Add report photo upload

This commit is contained in:
gabdevele
2026-06-02 19:41:19 +02:00 Unverified
parent e1c65903a3
commit 68d2a46584
7 changed files with 98 additions and 5 deletions
+1 -1
View File
@@ -28,10 +28,10 @@ Authorization: Bearer <token>
- `GET /reports/{id}/messages`: list report messages.
- `POST /reports/{id}/assignments`: assign a team.
- `POST /reports/{id}/feedback`: add citizen feedback.
- `POST /reports/{id}/photos`: upload one or more multipart files for a report.
## Admin Reference Data
- `GET|POST /admin/categories`
- `GET|POST /admin/areas`
- `GET|POST /admin/teams`
- `GET /admin/stats/overview`
+1
View File
@@ -9,6 +9,7 @@
- OTP email delivery through MailHog.
- Focused regression tests for technical endpoints and core validation helpers.
- Local admin seed: `[email protected]` / `ChangeMe123!`, with forced password change flag.
- Multipart report photo upload endpoint storing files under `uploads/reports/`.
## To do next
- Harden password hashing with Argon2id or bcrypt before production.