This is a simple proxy server that forwards requests to child servers. It spawns child servers bassed on the version and variant of the request.
- Node.js
- npm
- Clone the repository
- Run
npm install
- Set values in the appsettings.json
- Run
npm start
- Open a browser and navigate to
http://localhost:3000/version?version=<VERSION>&variant=<VARIANT>
- Replace
<VERSION>
with the version number (1.0.0
or1.2.3
) - Replace
<VARIANT>
with the variant number (call
orchat
)
- Replace
- You should see a response that was from the child server (the response is the child server's SKU)