Serverless stock email alarms when the specified thresholds are reached.
- Node
- NPM
- Serverless (installed globally on local machine)
npm install
-
Define necessary env variables in
serverless.env.yml
(example available inserverless.env.example.yml
) -
Run
sls invoke local -f stock-alarms
- stock-alarms
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