https://github.com/zviryatko/golang-serverless-websocket-lambda
Serverless example of AWS Lambda + Golang + Api Gateway Websocket + DynamoDB
https://github.com/zviryatko/golang-serverless-websocket-lambda
dynamodb example golang lambda serverless websocket
Last synced: 10 months ago
JSON representation
Serverless example of AWS Lambda + Golang + Api Gateway Websocket + DynamoDB
- Host: GitHub
- URL: https://github.com/zviryatko/golang-serverless-websocket-lambda
- Owner: zviryatko
- Created: 2022-12-19T13:38:01.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-19T13:44:08.000Z (about 3 years ago)
- Last Synced: 2025-02-16T12:57:41.414Z (11 months ago)
- Topics: dynamodb, example, golang, lambda, serverless, websocket
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example of Serverless + AWS Lambda + Golang + Websockets + DynamoDB
This is an example of a Serverless project that uses AWS Lambda and Golang to create a Websocket through AWS API Gateway and stores sessions in AWS DynamoDB.
## Requirements
- [Serverless](https://serverless.com/)
- [Golang](https://golang.org/)
- [AWS Account](https://aws.amazon.com/)
- [AWS CLI](https://aws.amazon.com/cli/)
## Deploy
1. Clone this repository
2. Run `make deploy` to deploy AWS Stack
## Usage
Open from different terminals `wscat -c wss:///dev`
Or connect to Websocket from different browser tabs.