SE701-T5 / Backend

Heroku deployed Node.js backend server developed by Team-5 for the UniForum project associated with the University of Auckland SOFTENG 701 course
https://uni-forum.herokuapp.com/
MIT License
2 stars 18 forks source link

add profile endpoints #96

Closed j-chad closed 2 years ago

j-chad commented 2 years ago

Is your feature request related to a problem? Please describe. as a user I want to be able to change my settings so that the site will reflect my preferences

Describe the solution you'd like We should create 2 new endpoints:

extend both GET /api/v1/users/current and GET /api/v1/users/:id to also return profile picture

profile picture should be uploaded to local filesystem and should be served when requested. https://stackoverflow.com/questions/29920824/how-to-serve-images-in-nodejs-express

Checklist: