Template for authentication API in Node JS
To run this project, you will need to add the following environment variables to your server/config/config.env file.
PORT=
MONGODB_USER=
MONGODB_PW=
DB_URI=
JWT_SECRET_KEY=
JWT_EXPIRE=
COOKIE_EXPIRE=
SMPT_HOST=
SMPT_PORT=
SMPT_SERVICE=
SMPT_MAIL=
SMPT_PASSWORD=
Clone the project
git clone https://github.com/Shreyas582/node_authentication_api
Go to the project directory
cd node_authentication_api
Install dependencies
npm install
Start the server
npm run dev
- Signup
- Verify Email
- Forgot Password
- Reset Password
- Login
- Logout