Simple Json Web Token Auth System in NodeJS with a MongoDB Database.
To run this project, you will need to add the following environment variables to your .env file. There is an example .env.example file available.
MONGODB_URI
ACCESS_TOKEN_SECRET
REFRESH_TOKEN_SECRET
Clone the project
git clone https://link-to-project
Go to the project directory
cd my-project
Install dependencies
npm install
Start the server
npm run start