Example of restfull API server with jwt authetication
https://documenter.getpostman.com/view/22859786/2s83S59s5g
Please define the following in the .env file
PORT=
MONGODB_URL=
JWT_ISSUER=
JWT_CONSUMER=
JWT_SECRET=
JWT_REFRESH_SECRET=
FRONTEND_URL=
MODE=
REDIS_URL=
To run the project
- Install the package by run the following command
npm run install-dep
- Run project in production mode
npm start
- Run project in development mode
npm run start-dev
Run the command
npm run test
If you found any issue on test, please report in issue section.