/nodejs-aws-swf-demo

NodeJS aws-swf demo with a file upload to an S3 bucket

Primary LanguageJavaScript

aws-swf-demo

Amazon Simple Workflow Service Demo Application in Node.js

Requirements

Installation

(1) Install dependencies

npm install

(2) Copy the sample configuration and replace with your own access keys

cp config.js.sample config.js
nano config.js

(3) Rename all domain name with "XXX_upload-file-S3" where XXX are your initials to avoid conflicts

example -> domain: 'JSN_upload-file-S3',

(3) Register the domain, workflow type and activity types

npm run bootstrap

(4) Run the decider

npm run decider

(5) Run the activity

npm run uploadCSVS3

(6) Start workflow execution

npm run starter