Serverless websockets have arrived on AWS thanks to Appsync. This repository is a simple messaging example and includes:
- GraphQL API code
- Deployment using the serverless framework
- Node.js client
- Browser client
- Client build config using webpack
Read the blog post that explains how to run this application.
Install the Serverless Framework plugins used by the project.
$ npm installCreate an .env file and update the AWS_ACCOUNT_ID variable.
export AWS_ACCOUNT_ID=123456789$ ./bin/deploy$ ./bin/destroy