CalculusJS - AWS Lambda CLI + Serverless Micro-Framework for Nodejs
Provision Nodejs AWS Lambda functions that contain a defined CI/CD pipeline.
Why CalculusJS?
- To propogate the adoption of DevSecOps amongst all Serverless applications you are developing.
- As a NodeJS developer I want to use the same tooling I'm accustomed to when writing non-serverless applications (ex. Webpack, FlowType, Mocha, etc.).
- I want to automate the development of CI/CD pipelines for each and every Lambda function I write.
Prerequisites
- Git installed
- Terraform installed
- Unix based systems
Installation
npm install -g calculus
You will want to run above command as root user (sudo).
Configuration
calculus configure
How to start using?
I. Generate a Nodejs Lambda function
$ calculus create hello-world
$ cd ./hello-world
$ npm install
$ npm run build
II. Deploy your new Lambda function
$ cd ./hello-world
$ calculus deploy
FAQs
coming soon...
License
MIT, see LICENSE.md
for more information.