Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.65 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.65 KB

This Node.js Express API simplifies user management, offering registration, login, user data retrieval, delete and update functionalities. User can access to their accounts with limited authorization when it comes to deleting accounts or updating details. API tests have done using ThunderClient/Postman and MongoDB.

User Registration & Log In (Authentication) TC1 TC2

User data retreival: Once a user is logged in a session is created. Users have to be logged in to fetch user details. TC3

Authorization: Users can only update their own credentials and not anyone elses. This also applies to deleting a users as well, where a user can only delete their own profile. When a user tries an unauthorized action such as updating or deleting another user they will not be allowed. TC4

Updating (Patch) user details with the right authorization: TC5

Database(Mongo DB): MongoDB