feat: Implement user profile management with avatar upload and additional fields
- Added avatar_url, phone, bio, and preferences fields to UserTenant model. - Updated UserService to handle user profile updates and retrieval. - Created endpoints for getting and updating the current user's profile. - Implemented avatar upload functionality with validation in routes. - Enhanced frontend to manage user profile, including avatar preview and form handling. - Added server-side logic for loading and updating user profile data. - Updated .gitignore to include uploads directory.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -59,4 +59,5 @@ node_modules/
|
||||
|
||||
# Docker
|
||||
*.dockerignore
|
||||
postgres-data/
|
||||
postgres-data/
|
||||
backend/uploads/avatars
|
||||
Reference in New Issue
Block a user