This repository includes a collection of Express.js middleware functions. It is the result of the steps described in my blog post about use cases for middleware:
https://blog.q-bit.me/useful-express-js-middleware-concepts-for-your-next-project-part-one
Clone down the repos, run npm install
and you're ready to go. Note that, to access the /private
route with Basic Authentication, you will need a HTTP client such as Postman.
# Quickstart
git clone https://github.com/tq-bit/article-express-middleware.git
npm install
node index