Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neverendingqs/serverless-websocket-example
WebSocket example using the Serverless Framework
https://github.com/neverendingqs/serverless-websocket-example
code-examples serverless-examples serverless-framework websocket websocket-application
Last synced: 6 days ago
JSON representation
WebSocket example using the Serverless Framework
- Host: GitHub
- URL: https://github.com/neverendingqs/serverless-websocket-example
- Owner: neverendingqs
- License: apache-2.0
- Created: 2019-06-27T18:56:33.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-12-07T10:03:13.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T16:05:01.916Z (7 months ago)
- Topics: code-examples, serverless-examples, serverless-framework, websocket, websocket-application
- Language: JavaScript
- Homepage:
- Size: 923 KB
- Stars: 39
- Watchers: 2
- Forks: 15
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Serverless WebSocket Example
A simple WebSocket application. See the full walkthrough at [API Gateway WebSocket APIs with
the Serverless
Framework](https://blog.neverendingqs.com/2019/07/01/serverless-websocket-example.html).```sh
# 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](https://github.com/neverendingqs/ask-me-anything)!_