Skip to content

youthradio/polls-lambda-dynamodb-backend

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published