Frontend revamp with Vue

[frontend] Created UserAvatarComponent to make better reusability of this component and adapted views and components to it
[frontend] It is now possible to upload a photo of the user when creating the user
[frontend] Deleting the user deletes the photo in the filesystem
[backend] Added logic to receive uploaded user photo and store it in the filesystem under user_images directory
[backend] Added logic to /user_images be routed when requested
[docker] Updated docker files and example docker compose file
This commit is contained in:
João Vitória Silva
2024-05-23 14:05:19 +01:00
parent 2a6f92a5e9
commit 245cec7945
18 changed files with 224 additions and 30 deletions

5
.gitignore vendored
View File

@@ -8,6 +8,11 @@ backend/*.pyc
backend/logs/*.log
backend/*.log
# user image folder images
backend/user_images/*.jpeg
backend/user_images/*.png
backend/user_images/*.jpg
# Frontend
frontend/img/users_img/*.*
# Logs