@dracul/queue-frontend
v1.34.0
Published
Dracul Vue Queue
Downloads
132
Readme
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
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