Serverless service to showcase DynamoDB stream backend and a Single-Page-Application front end.
Make sure that you use Serverless v1.
- Run
serverless install --url https://github.com/komushi/serverless-iot-browser
to install the service in your current working directory - Next up cd into the service with
cd serverless-iot-browser
- Run
npm install
- Change
provider.environment.ENV_ID
,provider.region
to your preference in serverless.yml - Deploy the backend with
serverless deploy
- Deploy the frontend with
serverless client deploy
- Access 'http://serverless-iot-browser-<ENV_ID>.s3-website-.amazonaws.com' with your phone, computer, pad...
cd serverless-iot-browser/dist/client
live-server
- IoT
- Cognito
- Lambda
- DynamoDB
- S3
- IAM