Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 536 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 536 Bytes

Serverless WebSocket Example

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!