Skip to content

iakashpatel/serverless-dynamodb-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless and DynamoDB Boilerplate Offline ready

Prerequisite

  • NodeJs >= V.6

  • install serverless globally

    npm install -g serverless
    
  • AWS-CLI to generate credentials(fake allowed), Refer: Here ... after installing aws-cli type following command and set your credentials(fake allowed)

    aws configure
    
  • JAVA Development KIT, get it for your platform from Here

Quick Start

  • Clone repo:
git clone https://github.com/iakashpatel/serverless-aws-boilerplate-offline.git
  • install dependencies:
npm install

Install Dynamodb locally with serverless

  • Install DynamoDB Local

    serverless dynamodb install
    

Run Serverless

  • Run Server

    • In your project root run:

      serverless offline start
      

      or

      sls offline start.
      

Serverless Package Help

  • to list all the options for the plugin run:
sls offline --help
  • Serverless url: http://localhost:3000/
  • dynamo shell url: http://localhost:8000/shell/

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published