Skip to content

apgapg/express-routing-controllers-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Routing Controller NPM demo

This project demonstrates on usage of following NPM packages:

  1. routing-controllers
  2. class-validator
  3. class-transformer
  4. jsonwebtoken
  5. redis
  6. ExpressJs

Key Highlights

  1. Uses custom error handler
  2. Uses nodemon for LIVE reload
  3. Uses auto request validators
  4. Uses JWT for authentication
  5. Uses Redis cache for token blacklisting

Getting Started

  1. This project uses ExpressJs.
  2. Learn about routing-controllers library for making route creation and handling easy
  3. Install redis cache to make project work
  4. Start redis server by redis-server
  5. Start debugging by running npm run dev:debug