A simple WebSocket application. See the full walkthrough at API Gateway WebSocket APIs with the Serverless Framework.
# Deploy to AWS first
npm run sls -- deploy
# Start the client on port 8080
npm start
# Broadcast a message to all listening clients
npm run broadcast
Got a question or want to see more examples like this? Be sure to check out my AMA repo!