Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 549 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 549 Bytes

Polls Lambda / Dynamodb backend

Setting up local env

Local Environment

.aws/credentials

aws configure

[local]
AWS Access Key ID: "fakeMyKeyId"
AWS Secret Access Key: "fakeSecretAccessKey"

OSZ Instal local dynamodb

$ brew cask install dynamodb-local
$ dynamodb-local & 

test 

$ aws dynamodb list-tables --endpoint-url http://localhost:8000   

Create table

create table 

$ AWS_PROFILE=your aws dynamodb create-table --cli-input-json  file://schemas/table.json

or

$ npm run aws:create-table