Assignment NodeJs
Assignment NodeJs
js Development
Overview
Welcome to the world of Node.js development! In this assignment, we will outline the key
features and requirements for your Node.js assignment. The goal is to create a robust
application with user authentication, role-based access control, and secure API endpoints.
Assignment Requirements
User Management
1. Signup:
Collect basic details (email, phone number, name, profile image, password)
during the signup process.
Ensure at least one of the phone number or email is provided during signup.
Implement encryption for passwords.
2. Login:
Allow users to log in using email/phone and password.
3. Modify User Details:
Users can only modify their own name and profile image.
Phone number and email, once entered, cannot be changed.
4. Delete User:
Users should have the ability to delete their accounts.