Skip to the content.

Table of contents

  1. Getting started
  2. What’s a Job/Batch/Pipeline
  3. Running the server
  4. Creating a worker
  5. The GNJ API
  6. Plugin the server to your express
  7. Q&A
  8. Contributing

A job scheduler, a runner and an interface to manage jobs. In one lib.


Why graphql-node-jobs?

Use GNJ is you want a project that:

Other projects that might be interesting for you:

GNJ is kept small on purpose, the goal is to have the smallest API for the biggest impact.


What does it do?

It allows you to setup many execution pipelines and run them.

Alt text The default GraphQL-workbench interface.


How it works

NGJ (graphql-node-jobs) is available as:


How can I integrate NGJ to my app?


Prerequisites

To use GNJ, you need a project with:

A few modules need to be installed, like Graphql-tag, react, WebSocket, etc.


Adding GraphQL-Node-Jobs to your project

yarn add graphql-node-jobs

To use the api, there is node-graphql-jobs-react that provide convenient Components to list/trigger/delete and other useful actions. It uses Websockets by default to provide a near-realtime experience.


Next: What’s a Job/Batch/Pipeline


Teamstarter’s other libraries