Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harish-govindasamy/forget-password-server
Password Reset Flow in Backend
https://github.com/harish-govindasamy/forget-password-server
api crud database dotenv express jsonwebtoken mongodb mongoose nodejs nodemailer validation
Last synced: 10 days ago
JSON representation
Password Reset Flow in Backend
- Host: GitHub
- URL: https://github.com/harish-govindasamy/forget-password-server
- Owner: harish-govindasamy
- Created: 2024-12-07T03:21:59.000Z (19 days ago)
- Default Branch: main
- Last Pushed: 2024-12-07T03:27:55.000Z (19 days ago)
- Last Synced: 2024-12-07T04:20:41.741Z (19 days ago)
- Topics: api, crud, database, dotenv, express, jsonwebtoken, mongodb, mongoose, nodejs, nodemailer, validation
- Language: JavaScript
- Homepage: https://forget-password-server.onrender.com/
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Forgot Password BackEnd
## Working
- Login check the user data and allow the login
- SignUp check the existing database and update the new user
- Forgot Password creates a temporary token and send a mail to the user to update the password**Base URL**
URL - https://forget-password-server.onrender.com/
### POST
**signup**
`https://forget-password-server.onrender.com/signup/newuser`
Get the user data and store it in the dataBase
Automatically send a email to the user for Authentication**_Request Format_**
{
"email": "[email protected]",
"password": "example"
}### POST
**login**
`https://forget-password-server.onrender.com/login/user`
Get the user data and check the user details in the database**_Request Format_**
{
"email": "[email protected]",
"password": "example"
}### POST
**forgot passoword**
`https://forget-password-server.onrender.com/forgot`
Get the user email and check the user details in the database and send a Password Reset link to the User email**_Request Format_**
{
"email": "[email protected]"
}### GET
**verify reset page**
`https://forget-password-server.onrender.com/reset/:id/:token`
When the User click the password reset email it will check the data and allow the user to update the new password### PATCH
**update new password**
`https://forget-password-server.onrender.com/forgot`**_Request Format_**
{
"newPassword": "123",
"confirmPassword": "123"
}## API Documentation
- [API](https://documenter.getpostman.com/view/31335509/2s9YkkgPSB)
## Front End Live Site
- [Live Site](https://password-reset-flow-1999.netlify.app/)
## Live Site
- [Live Site](https://forget-password-server.onrender.com/)