-
simple-websockets-chat-app
This SAM application provides the Lambda functions, DynamoDB table, and roles to allow you to build a simple chat application based on API Gateway's new WebSocket-based API feature.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Setting it all up is somewhat involved. I recommend starting with the Simple WebSockets Chat App they provide as a demo.
The code for this project is available on my GitHub page.
Let's quickly test the backend, to make sure it works as we expect. We'll use the wscat command-line utility. The command below will open a long-lived connection to the API Gateway, and we'll be able to send and receive messages in a subshell: