Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apgapg/express-routing-controllers-demo
Express Routing Controller npm demo
https://github.com/apgapg/express-routing-controllers-demo
expressjs routing routing-controller
Last synced: 7 days ago
JSON representation
Express Routing Controller npm demo
- Host: GitHub
- URL: https://github.com/apgapg/express-routing-controllers-demo
- Owner: apgapg
- Created: 2021-05-06T05:27:55.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T07:46:59.000Z (over 3 years ago)
- Last Synced: 2024-12-31T19:53:56.477Z (about 1 month ago)
- Topics: expressjs, routing, routing-controller
- Language: TypeScript
- Homepage:
- Size: 72.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Express Routing Controller NPM demo
This project demonstrates on usage of following NPM packages:
1. [routing-controllers](https://www.npmjs.com/package/routing-controllers)
2. [class-validator](https://github.com/typestack/class-validator)
3. [class-transformer](https://github.com/typestack/class-transformer)
4. [jsonwebtoken](https://www.npmjs.com/package/jsonwebtoken)
5. [redis](https://www.npmjs.com/package/redis)
6. [ExpressJs](https://expressjs.com/)## 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](https://expressjs.com/).
2. Learn about [routing-controllers](https://www.npmjs.com/package/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`