- This repo contain basic example of AWS Serverless Websocket deploy by using SAM.
- Feel free to explore the code at your own risk. 😜
- DynamoDB
- Lambda
- API Gateway V2 (Websocket Protocol)
This repo uses open source projects to work properly:
- node.js - used for the backend
- AWS CLI - used for enviroment
- SAM CLI - used for build and deployment
Install the dependencies and devDependencies.
cd AWS_Serverless_Websocket
npm install
SAM build and deploy. Used --guided for the first deployment
aws configure
sam build
sam deploy --guided
Test your websocket at here after deploy
- Example:
wss://*******.execute-api.ap-northeast-1.amazonaws.com/dev?email=syamim_nsl@yahoo.com
MIT
Free Software, Syukran Alhamdulillah Thank to Allah!