Skip to content

iaindurham/dynamo-and-lambda

Repository files navigation

dynamo-and-lambda

Example of using DynamoDB and Lambda in AWS using Serverless framework

Setup

Install Serverless CLI

For more info on serverless see docs

npm install serverless -g

Install project dependencies

npm install

Install required version of node:

nvm use

Note on node version:

The Lambda's use node v10.x however serverless-offline requires v12.x to be installed to run.

Run locally

Start Dynamo local

sls dynamodb start

Start app in offline mode

sls offline

Deploying

Set up AWS credentials in preferred way. For options see docs

sls deploy

About

Example of using DynamoDB and Lambda in AWS using Serverless framework

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages