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
andTOKEN_SECRET
storing the MongoDB database link and the jwt signing secret key - Run
npm start
ornpm start-dev
to start a development server with nodemon