Skip to content

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

License

Notifications You must be signed in to change notification settings

Frojd/Serverless-Node-Dynamodb-Boilerplate

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published