A collection of simiple servers for testing.
You'll need to install node.js if you don't have it already
brew install node
https://nodejs.org/en/#home-downloadhead
The first step is to install depencencies:
npm install
Then you can run the regular HTTP server (CORS enabled):
npm run http
Or the websocket server:
npm run ws
You can use ngrok to connect via HTTPS, WSS or externally without changing any configuration. https://dashboard.ngrok.com/get-started
Once it's installed, you can then expose the HTTP server:
ngrok http 8000
Or the Websocket server:
ngrok http 8080
Just use wss://NGROK_URL instead of https://NGROK_URL for wss connections