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

Implement Forum User Update Feature using HTTP PATCH #57

Closed R055A closed 2 years ago

R055A commented 2 years ago

Description

Implement update feature that responds to HTTP PATCH requests for updates of any valid editable forum user document field(s) with the updated forum user data.

Refactored existing User controller functions to use added validation lib functionality, moved (dummy) password hash function to model.

Added an email validation.

Related Issue

Solves #22

Type of change

How Has This Been Tested?

Multiple automated test cases for

Checklist:

For more information, refer to the Contributing Guidelines and Code of Conduct links at the bottom of this page.