0.1.6 • Published 6 years ago

lambda-sequelize v0.1.6

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Lambda Dev

Introduction

This project contains one possible structure for development for a serverless application. Individual Lambda functions live in their own sub-directory under the root. Each has a handler: index.js and a test.js test file. They may also have their own node_modules.

Setup

Clone the project and then run npm install at the root

Testing and Linting

A "test" and "lint" script is defined in the root package file. These run mocha and ESLint tests respectively. Additionally, there is a watch script also defined so that a developer can monitor any potentially breaking changes on save. These tests will also be run online as part of the CodeBuild process. If any fail that will halt the deployment process.

To start the watcher, run npm run watch from the root.