Shreyas582 / node_authentication_api

Template for authentication API in Node JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node Authentication API

Template for authentication API in Node JS

Environment Variables

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=

Run Locally

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

Features

  • Signup
  • Verify Email
  • Forgot Password
  • Reset Password
  • Login
  • Logout

About

Template for authentication API in Node JS

License:MIT License


Languages

Language:JavaScript 100.0%