Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

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!