0.3.15 • Published 4 years ago

griffon v0.3.15

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Griffon

A message queue for easily building workflows. A griffon server acts a hub, connecting griffon clients. Clients connect and kickoff tasks within a workflow, then relay the results when they are done. Griffon tracks dependecies as clients connect, and provides a powerful architecture for developing against, debugging, and running complex workflows.

Getting Started

Prerequisites

Griffon is backed by a database. Currently the only supported data store is MongoDB. Make sure to have a working MongoDB connection string available to run the Griffon server.

Installing

npm install griffon

Running

const griffon = require('griffon')


// Connects the Griffon server to it's backing database.
await griffon.connectDB({mongo_uri: 'mongodb://127.0.0.1:27017/griffon'})

// Serves the Griffon Dashboard, which helps you visualize, debug, and rerun tasks within the workflow.
await griffon.serveDashboard({port: 3000})

// Serves the Griffon message queue, which clients connect to.
await griffon.serveWorkflow({port: 3001})

And that's it!

0.3.15

4 years ago

0.3.14

4 years ago

0.3.13

4 years ago

0.3.12

4 years ago

0.3.11

4 years ago

0.3.10

4 years ago

0.3.9

4 years ago

0.3.8

4 years ago

0.3.7

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.2.2

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago