This is a project using TS, NODEJS, MONGODB, PASSPORT and JSON WEB TOKENS, is a short REST API for authenticate users.
This can be used as backend for a frontend developed in most javascript modern framework like a React, Vue or Angular that require an user authentication method.
The database (mongo) must be have running at port 27017 (default port)
git clone https://github.com/gabrielba15/typescript-nodejs-mongodb-restapi-jwt.git
cd typescript-nodejs-mongodb-restapi-jwt
npm install
npm run build
npm start
Ready, happy hacking :D