A scalable backend server solution designed to manage and orchestrate software development bootcamps/courses from multiple schools, providing robust APIs and data storage capabilities.
2
stars
0
forks
source link
[Fixed] TCCPISSUE38-bootcamp-badge: Fix issues with avatar and badge uploads #48
This pull request fixes several issues related to avatar and badge uploads. It includes the following changes:
Updated .prettierrc to remove semicolons
Deleted the avatar directory
Added no-photo.jpeg to the public/upload directory
Added a .gitkeep file to the avatar upload directory
Added a default 'no-avatar.jpeg' to the avatar upload directory
Added badge files to the upload directory
Refactored file upload functions and added badge upload support
Added new files to .gitignore
Fixed formatting in server.ts
Refactored PathDir class to simplify API_ROOT and RESET_PASSWORD
Added a new response message for badge upload
Added new career options
Added UPLOAD_BADGE path to PathParam enum
Updated default photo, badge, and avatar paths
Fixed formatting in AuthController class
Modified User controller for avatar upload for Avatar folder
These changes address the issues mentioned in Issue #38 and Issue #46.