UNPKG

d2-ui

Version:
34 lines (23 loc) 773 B
# Examples View working examples of `http-proxy-middleware` implemented in popular servers. To run and view the [examples](https://github.com/chimurai/http-proxy-middleware/tree/master/examples); Clone the `http-proxy-middleware` repo and install the dependencies: ```bash $ git clone https://github.com/chimurai/http-proxy-middleware.git $ cd http-proxy-middleware $ npm install ``` Run the example from root folder: ```bash $ node examples/browser-sync ``` ```bash $ node examples/connect ``` ```bash $ node examples/express ``` ```bash $ node examples/websocket ``` ## Server recipes You can find more server implementations with `http-proxy-middleware` in the [server recipes](https://github.com/chimurai/http-proxy-middleware/tree/master/recipes/servers.md)