@dracul/queue-frontend

1.34.0 • Public • Published

Contributors Stargazers

Dracul Queue-frontend Module

The Queue-frontend Module allow you to show workers stats in a queue. The stats are jobs added, jobs done, jobs pending and jobs gotten

Requeriments

-Graphql (Apollo Server)

This module allows:

  • Get stats of workers in process in a queue.

Installation

npm i @dracul/queue-frontend

Usage example

To use Provider with services Graphql

import { queueStatsProvider } from "@dracul/queue-frontend";

Tanslation i18n

import {i18nMessages} from '@dracul/queue-frontend'

To get Route of stats queue

import {routes} from '@dracul/queue-frontend'

Page of Queue stats

You can access to stats queue with /queue-stats. For example http://localhost:8080/queue-stats

Dracul Module Queue-frontend

Recommendation

It is recommended to use Scaffold, where you already have all the modules implemented to be able to use it as a project base. https://github.com/draculjs/scaffold GitHubGitHub draculjs/scaffold Base project with SPA frontend and API backend with Grahql. - draculjs/scaffold. - draculjs/scaffold

Readme

Keywords

Package Sidebar

Install

npm i @dracul/queue-frontend

Weekly Downloads

168

Version

1.34.0

License

MIT

Unpacked Size

14.4 MB

Total Files

56

Last publish

Collaborators

  • cincarnato