-
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
- Clone repo:
git clone https://github.com/iakashpatel/serverless-aws-boilerplate-offline.git
- install dependencies:
npm install
-
Install DynamoDB Local
serverless dynamodb install
-
Run Server
-
In your project root run:
serverless offline start
or
sls offline start.
-
- to list all the options for the plugin run:
sls offline --help
- Serverless url:
http://localhost:3000/
- dynamo shell url:
http://localhost:8000/shell/
- serverless-offline guide: Click here
- aws serverless guide here: Click here
- DyanomoDB Programming: Click here AND Here