REST API with JWT Authentication build with Node.js + Express.js and writen in TypeScript
npm install
npm start
Tiny project made by following these two tutorials from Dev Ed's Youtube channel:
- Build A Restful Api With Node.js Express & MongoDB | Rest Api Tutorial
- Build A Node.js API Authentication With JWT Tutorial
I have updated and/or replaced some npm dependencies according deprecation warnings (@hapi/joi -> joi) and best practices (CommonJS -> ES6 modules).