This tutorial will show how to integrate WebSocket with API Gateway from AWS.
Github: https://github.com/undefinednullerror/websocket-api
Topics covered in this video:
00:00 API Gateway intro
00:27 HTTP REST API + Mock integration
04:27 HTTP REST API + Lambda function integration
07:22 Websockets API - $connect handler
13:47 Websockets API - onmessage handler
16:01 Websockets API - web chat application
17:21 Create DynamoDB database
18:02 onConnect - save connections into database
19:21 allow Lambda to access DynamoDB
20:19 onMessage - send a message to all connections within database
24:09 onDisconnect - remove connections from database
26:20 Test the web chat application
#APIGateway #AWSLambda #WebSocket #DynamoDB
Download
0 formats
No download links available.
AWS API Gateway WebSocket Integration | COMPLETELY SERVERLESS! | NatokHD