A Node.js JWT Auth API using MongoDB and Express. With some sprucing up and all in Typescript!
- Jason Watmore's Node.js + MongoDB API - JWT Authentication with Refresh Tokens Tutorial
- Node Express Boilerplate
Can be fond in swagger.yaml
Install with yarn (or npm)
cd node-mongo-jwt-auth-app
yarn
Utilizes ts-node
and nodemon
to watch the ./src
directory and re-run on file changes
yarn dev
yarn prod
(This will clean
the /dist/
folder, build
the typescript files, and finally start
the server in production mode)