Serverless Starter Kit in NodeJS
Run npm install
to get started. You need the Serverless Framework cli tool,
##Â Running locally:
You'll need the npm package to develop offline with serverless-offline
: npm install serverless-offline --save-dev
IS_OFFLINE=true sls offline start --stage dev
npm install -g jest
Tests are in the tests
folder, and are written using Jest.
Run tests:
npm test --coverage
npm install serverless-offline-scheduler --save-dev
npm install serverless-dynamodb-local --save-dev
sls dynamodb install
Description | Link |
---|---|
Intro | SitePoint |
Serverless Docs | AWS version |
Official examples | GH Repo |
Serverless REST API with DynamoDB and offline support example | GH Repo |
CI/CD with Circle on serverless blog | CI/CD with Circle |
CI & CD from serverless blog | Part 1 , Part 2 |
notes on dynamodb primary keys | stackoverflow |
hands on serverless example | GH repo + guide repo |
serverless offline plugin | gh repo |
Dynamo db local plugin | gh repo |
aws-node-text-analysis-via-sns-post-processing example | gh repo |
Serving Dynamic HTML via API Gateway Example | GH Repo |
serverless authentication boilerplate | gh repo |
secured API example | gh repo |
List of Serverless Resources | GH Page |
Xavier Decupyer's Video Tutorials | YouTube Videos |
Environment Vars | Serverless Docs |
Scheduling on Serverless | docs |
API Gateway events config in YAML | docs |
Cloudwatch events triggers | docs |
kinesis local | gh repo |