Skip to content

AWS Lambda command-line utility + serverless micro-framework

License

Notifications You must be signed in to change notification settings

Lionshead-io/calculus-serverless-cli

Repository files navigation

CalculusJS - AWS Lambda CLI + Serverless Micro-Framework for Nodejs

Provision Nodejs AWS Lambda functions that contain a defined CI/CD pipeline.

Why CalculusJS?

  1. To propogate the adoption of DevSecOps amongst all Serverless applications you are developing.
  2. 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.).
  3. 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

sudo npm install -g calculus

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...

Roadmap

CalculusJS CLI Trello Board

License

MIT, see LICENSE.md for more information.