An open API service indexing awesome lists of open source software.

https://github.com/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
https://github.com/frojd/serverless-node-dynamodb-boilerplate

dynamodb nodejs serverless

Last synced: 25 days ago
JSON representation

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

Awesome Lists containing this project

README

          

# Serverless-Node-Dynamodb-Boilerplate

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

## Features

- [Serverless](https://serverless.com/)
- Node.js
- Dynamodb support
- Offline support (using [serverless-offline](https://www.npmjs.com/package/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](http://semver.org/).

## Contributing

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

## License

Serverless-Node-Dynamodb-Boilerplate is released under the [MIT License](http://www.opensource.org/licenses/MIT).