Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (24 sloc) 754 Bytes

sls-stock-alarms

Build Status

Serverless stock email alarms when the specified thresholds are reached.

Requirements

  • Node
  • NPM
  • Serverless (installed globally on local machine)

Installation

npm install

Usage

  1. Define necessary env variables in serverless.env.yml (example available in serverless.env.example.yml)

  2. Run

sls invoke local -f stock-alarms

Available functions

  • stock-alarms

Deployment

Deployment is taken care by travis. If, for some odd reason, it's required to deploy manually, it can be achieved by running the following command.

npm run deploy
You can’t perform that action at this time.