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 endpoints for current user and support for profile pictures #101

Closed oscarli00 closed 2 years ago

oscarli00 commented 2 years ago

Description

Adds 2 new endpoints:

Extended both GET /api/v1/users/current and GET /api/v1/users/:id to also return profile picture Profile pictures are stored in /uploads Users can get profile pictures from localhost:4200/uploads/{imageName}

Fixes/resolves #96

Type of change

Please delete options that are not relevant.

Checklist:

Leave blank if not applicable

I have completed these steps when making this pull request:

Before opening the PR for review: