Source code for the lambda function from the screencast How to build a chat using Lambda + WebSocket + API Gateway? (nodejs)
The reactjs client code is here
- follow the video and create your lambda function and API Gateway websocket endpoint
- copy the connection url as described in the video to this constant
- make sure the region and lambda function name are correct in the deploy command
- run
npm run deploy
🚀
Don't forget to subscribe