Frojd / Serverless-Node-Dynamodb-Boilerplate

This is a Node.js based serverless api boilerplate, it includes offline development support, a local dynamodb instance and a test suite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serverless-Node-Dynamodb-Boilerplate

This is Node.js based serverless api boilerplate with built in dynamodb support

Features

  • Serverless
  • Node.js
  • Dynamodb support
  • Offline support (using serverless-offline and docker)
  • Example endpoints
  • Circleci integration
  • Secret management

Requirements

  • Node 12
  • Serverless

Installation

  1. npm install -g serverless
  2. make setup

Developing locally

  1. make local
  2. open http://localhost:3000

Handling secrets

Secrets are stored in a encrypted external file, where $KEY is your encryption key.

  • Encrypt openssl aes-256-cbc -e -in .circlerc -out .circlerc-crypt -k $KEY
  • Decrypt openssl aes-256-cbc -d -in .circlerc-crypt -out .circlerc -k $KEY

Versioning

This boilerplate uses semantic versioning.

Contributing

Want to contribute? Awesome. Just send a pull request.

License

Serverless-Node-Dynamodb-Boilerplate is released under the MIT License.

About

This is a Node.js based serverless api boilerplate, it includes offline development support, a local dynamodb instance and a test suite

License:MIT License


Languages

Language:JavaScript 86.0%Language:Shell 9.8%Language:Makefile 4.2%