Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/udhaya007kumar/passwordrestflow
PasswordRestFlow Public
https://github.com/udhaya007kumar/passwordrestflow
expressjs mongodb moongose mvc nodejs
Last synced: 4 days ago
JSON representation
PasswordRestFlow Public
- Host: GitHub
- URL: https://github.com/udhaya007kumar/passwordrestflow
- Owner: Udhaya007Kumar
- Created: 2024-10-30T12:42:23.000Z (18 days ago)
- Default Branch: main
- Last Pushed: 2024-11-02T13:50:43.000Z (15 days ago)
- Last Synced: 2024-11-13T05:06:42.894Z (4 days ago)
- Topics: expressjs, mongodb, moongose, mvc, nodejs
- Language: JavaScript
- Homepage: https://passwordrestflow-gyxy.onrender.com
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# PASSWORD RESET BackEND
# Created the MVC pattern with separate folders for models, views, and controllers.
# Set up a MongoDB database using Mongoose.
# Create a User model with appropriate fields.
# Create a route for user registration.
# Implement a controller function to handle user registration.
# Create a route for user registration.
# Implement a controller function to handle user registration.
# Hash the user's password before saving it to the database.
# Return a success message upon successful registration.
# Create a route for user login.
# Implement a controller function to handle user login.
# Verify the user's credentials.
# Generate a JWT upon successful login.
# Return the JWT to the user.
# Create a middleware function to verify the JWT from the request headers.
# Decode the token to get the user's information.
# Attach the user's information to the request object.
# Create a route to get user information.# Api Doucumtation
# https://documenter.getpostman.com/view/25187096/2sAY4xAMVH