Automattic / Automattic/kue

Using kue with Graph QL - Yoga?

Open
#1,215 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.4k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

So I'm importing a file where I setup kue and creating a test job.
All seems to be working as I'm getting some the job Id consoled logged.

`var job = queue
.create("email", {
title: "welcome email for tj",
to: "tj@learnboost.com",
template: "welcome-email"
})
.save(function(err) {
if (!err) console.log(job.id);
});`

I'm trying to visualise these jobs through the kue user interface.

But with yoga server I don't think I have access to middleware and can't run

`app.use('/queue', kue.app);`

Is their a way to visualise the kue interface with Yoga / Graph QL ?
Or could I create my own interface with the API or see in Redis somehow?

Thanks a lot.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Yoga server integration point and Kue's `app` entry point used at `/queue`; check whether Yoga exposes a compatible route or middleware mounting path. Review Kue's API and Redis-backed job data as the alternatives named in the issue. Done means documenting a supported way to expose the Kue UI, or clearly identifying the API/Redis approach if direct mounting is not possible.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, javascript, redis
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.