Skip to content
Serverless stock email alarms when the specified thresholds are reached.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.editorconfig
.gitignore
.travis.yml
LICENSE
README.md
package-lock.json
package.json
serverless.env.example.yml
serverless.yml

README.md

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.