https://github.com/daniel-cottone/apex-example
https://github.com/daniel-cottone/apex-example
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/daniel-cottone/apex-example
- Owner: daniel-cottone
- Created: 2017-04-03T14:50:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-04T09:37:16.000Z (almost 9 years ago)
- Last Synced: 2025-01-29T16:30:53.303Z (12 months ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Step Functions
=====
About
-----
This project is designed to be an example use case for [AWS Step Functions](https://aws.amazon.com/step-functions/) using lambdas. The code for the individual lambdas is managed by the [Apex Framework](http://apex.run/).
Installation
-----
* Install Apex: `curl https://raw.githubusercontent.com/apex/apex/master/install.sh | sudo sh`
* Setup AWS config (if you haven't already): `echo -e "[profile asurion-dev.pspdevops]\nregion = us-east-1" >> ~/.aws/config`
* Install modules: `npm install`
Usage
-----
You can run any of the [Apex commands](http://apex.run/#deploying-functions) from the root directory. The Step Function definition configurations which were used to connect the deployed lambdas can be viewed in the `step_definitions` directory.
Testing
-----
You can run `npm test` to run unit tests with karma. Apex will automatically run unit tests before deployment.