Skip to content

lgauthier1/understand-express-with-middleware-and-web-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Resource for understanding Express middleware chaining and web proxy usage

Installation

npm install

Setup a web Proxy

Recommanded: https://github.com/garily/nodejs-forward-proxy-server

Understanding without proxy

  1. Get Data
curl http://localhost:3000
  1. Get with a dedicated filetering middleware
curl http://localhost:3000/filteredData

Understanding with web Proxy

  1. Get Data through Web proxy
curl http://localhost:3000/proxyData
  1. Get data through a proxy with a dedicated filetering middleware
curl http://localhost:3000/filteredData

About

A minimal script to understand express middleware and web Proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published