feat(profile): implement avatar upload functionality and update profile handling

This commit is contained in:
2026-03-29 15:12:34 +02:00
parent 3b57ad4f37
commit a3964eb047
8 changed files with 131 additions and 3 deletions

View File

@@ -49,6 +49,7 @@ npm run db:seed
npm run dev
```
6. Open `http://localhost:3000`
7. Avatar uploads are stored in `public/uploads/avatars`.
## Environment Variables
- `DATABASE_URL`: PostgreSQL connection URL
@@ -83,6 +84,7 @@ docker compose up --build -d
4. Open `http://localhost:3000`.
The app container runs `npm run db:migrate` before `npm run start`.
Avatar uploads are persisted in the `avatar_uploads` Docker volume.
## Security Notes
- All important writes are server-side validated (Zod + method-specific checks)