In this workshop, we're going to:
- Build a simple note taking application
- Identify the benefits of using AWS JS SDK v3 over v2
The note taking application is the modified version from the original Open Source MIT licensed project shared in the tutorials on serverless-stack
To set up this workshop package, first complete these tasks:
- Install Node.js by following the steps below:
- Install nvm
- Install node v10.0.0 by running
nvm install 10andnvm use 10 - Verify that node is installed by running
node -vand confirm that it shows latestv10(for example,v10.16.3)
- Install yarn
- We recommend using yarn for its simplicity and speed. You can still use npm cli instead of yarn
- If you don't have an AWS account already, please create one
- If you're an Amazon employee, please refer internal wiki for creating AWS account
- Install AWS CLI
- Verify that AWS CLI is installed by running
awsin terminal
- Verify that AWS CLI is installed by running
- Install AWS SAM CLI and Docker
- Verify that AWS SAM CLI is installed by running
samin terminal
- Verify that AWS SAM CLI is installed by running
- Set up AWS Shared Credential File
- Your
~/.aws/credentialsmight look like:[default] aws_access_key_id = <ACCESS_KEY> aws_secret_access_key = <SECRET_ACCESS_KEY> - Your
~/.aws/configmight look like:[default] region = us-west-2
- Your
Steps to create backend API :
cd packages/backend- Follow backend README
Steps to run frontend (after creating and testing backend):
cd packages/frontend- Follow frontend README
This sample code is made available under the MIT license. See the LICENSE file.