First clone the repo
git clone https://github.com/micaelillos/express-mongo-jwt-typescript.git
Second install dependecies
cd express-mongo-jwt-typescript && npm install
Make sure to have MongoDB on your machine or in a container and adjust .env accordingly
In devleopment run
npm run dev
In production run
npm run prod
📌 All basic setup of express, mongodb
📌 Everything in typescript
📌 All passwords salted using bcryptjs
📌 Server Side authentication using Joi
📌 JWT authentication & controlled access
📌 Hot Reload