A collection of simiple servers for testing.
You'll need to install node.js if you don't have it already
brew install nodehttps://nodejs.org/en/#home-downloadhead
The first step is to install depencencies:
npm installThen you can run the regular HTTP server (CORS enabled):
npm run httpOr the websocket server:
npm run wsYou 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 8000Or the Websocket server:
ngrok http 8080Just use wss://NGROK_URL instead of https://NGROK_URL for wss connections