/nodejs-authenticate

A simple nodejs based authentication system. Using MongoDB, Express and JWT

Primary LanguageJavaScript

nodejs-authenticate

A simple NodeJs based authentication system. Using MongoDB, Express and JWT

Usage

  • Clone the repo and run npm install
  • Create a .env file in the root and store 2 variable DB_CONNECT and TOKEN_SECRET storing the MongoDB database link and the jwt signing secret key
  • Run npm start or npm start-dev to start a development server with nodemon