You can deploy this app and the back end infrastructure in one of two ways:
- One click deploy button
- The Amplify CLI
-
Forked copy of this repository. Instructions for forking a GitHib repository can be found here
-
A GitHub personal access token with the repo scope as shown below. Instructions for creating a personal access token can be found here
Be sure and store you new token in a place that you can find it.
- First install and configure the Amplify CLI.
For a complete walkthrough of how to configure the CLI, see this video
$ npm install -g @aws-amplify/cli
$ amplify configure
- Clone the repo, install dependencies
$ git clone https://github.com/sameer-goel/dynamodb-streaming
$ cd dynamodb-streaming
$ npm install
- Initialize the app
$ amplify init
? Enter a name for the environment: dev (or your preferred env name)
? Choose your default editor: (your preferred editor)
? Do you want to use an AWS profile? Yes
? Please choose the profile you want to use: your-profile-name
? Do you want to configure Lambda Triggers for Cognito? No
- Deploy the back end
$ amplify push --y
- Run the app
$ npm start