1 | # Examples
|
2 |
|
3 | View working examples of `http-proxy-middleware` implemented in popular servers.
|
4 |
|
5 | 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:
|
6 |
|
7 | ```bash
|
8 | $ git clone https://github.com/chimurai/http-proxy-middleware.git
|
9 | $ cd http-proxy-middleware
|
10 | $ npm install
|
11 | ```
|
12 |
|
13 | Run the example from root folder:
|
14 |
|
15 | ```bash
|
16 | $ node examples/browser-sync
|
17 | ```
|
18 |
|
19 | ```bash
|
20 | $ node examples/connect
|
21 | ```
|
22 |
|
23 | ```bash
|
24 | $ node examples/express
|
25 | ```
|
26 |
|
27 | ```bash
|
28 | $ node examples/websocket
|
29 | ```
|
30 |
|
31 | ## Server recipes
|
32 |
|
33 | 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)
|