Proxy Server that is between a ws server and a ws client. In case of either server / client disconnects graceful or otherwise - initiates/ supports reconnection.
Read more about 📝 design
We are very happy to receive and merge your contributions into this repository!
To contribute via pull request, follow these steps:
- Create an issue describing the feature you want to work on (or have a look at the issues)
- Write your code, tests and format them with
npm run format
- Create a pull request describing your changes
Your pull request will be reviewed by a maintainer, who will get back to you about any necessary changes or questions.
To install dependencies
npm install
In order to run the tests, make sure that you have installed dependencies:
npm run test
To reformat files execute
npm run format
🔧 Before, executing proxy create the config.json
by running the following command:
cp lib/config/config.json.sample lib/config/config.json
Additionally, you can configuration your proxy based on your needs. Refer here - config.json.sample
Then execute proxy by running the following command:
npm run start
NOTE: By default it runs in dev
environment you can configure your env by the following command:
NODE_ENV=<env> node cluster.js