Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/glrodasz/in-the-middle-of-the-middleware


https://github.com/glrodasz/in-the-middle-of-the-middleware

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# in-the-middle-of-the-middleware

Meetup talk about middlewares in Express.js. You can check the slides [here](https://slides.com/glrodasz/in-the-middle-of-the-middleware).

## hello-world

Check how a middleware is build and how can we put it into our routes

## express-gen

Check the file `app.js` and identify the different type of middlewares

## middleware-demo

- [Error handler with Boom](https://github.com/glrodasz/platzi-express/blob/master/ecommerce/utils/middlewares/errorsHandlers.js)
- [Route validation with Joi](https://github.com/glrodasz/platzi-express/blob/master/ecommerce/utils/middlewares/validationHandler.js)