0.0.20 • Published 7 years ago

flowra v0.0.20

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Flowra

Build workflow have never been such easy. Just define your worker functions and call it when you need with this library in your current project.

Installation

npm install flowra --save

Worker

Configuration

After installing, you need to setup your worker with the information you can get on simpleFlow

const Flowra = require('flowra').config({
  app_env: 'dev || prod',
  app_id: 'YOUR_APP_ID',
  user_token: 'YOUR_USER_TOKEN',
});

Start a worker

When everything is setup well, you can start your worker with this function

flowra.worker.start(function(taskName, data, onSuccess, onFail) {
  // Job to be done including these functions
  onSuccess("Everything went well");
  onFail("Oups! error");
});

Workflow

Configuration

You also need to setup your workflow with your app informations on server-side

const Flowra = require('flowra').config({
  app_env: 'dev || prod',
  app_id: 'YOUR_APP_ID',
  user_token: 'YOUR_USER_TOKEN',
});

Notes

⛔️ This project is currently in development and not working for public ⛔️
If you're interested please contact me : here

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.1

7 years ago