by Kai

TypeScript Express backend for distributed job queue management with built-in worker coordination, cron scheduling, rate limiting, and metrics. Supports priority-based job processing, bulk operations, queue pause/resume, and in-memory storage—ideal for teams building async task systems without external dependencies. All 38 API endpoints fully tested and production-ready.
TetreesAI Backend is a TypeScript-based job queue management system built with Express.js. It provides a complete API for managing asynchronous job processing with support for multiple queues, worker registration, cron scheduling, rate limiting, and real-time metrics. The system uses in-memory storage and requires no external database.
PORT environment variable)npm install
npm run build
npm start
npm run dev
Runs with hot-reload enabled.
| Variable | Default | Description |
|---|---|---|
PORT | 9026 | HTTP server listening port |
All endpoints are prefixed with /api and return responses in the format { "data": ... } for success or { "error": "..." } for errors.
GET /health
POST /api/jobs
name (required), queue, payload, priority, max_retries, scheduled_atGET /api/jobs
status, queue, name, limit, offsetGET /api/jobs/:id
POST /api/jobs/:id/complete
POST /api/jobs/:id/fail
POST /api/jobs/:id/retry
POST /api/jobs/:id/cancel
POST /api/jobs/bulk/cancel
ids (array of UUIDs)POST /api/jobs/bulk/retry
ids (array of UUIDs)DELETE /api/jobs/:id
POST /api/queues/:name/pause
POST /api/queues/:name/resume
GET /api/queues/:name/status
POST /api/workers
name (required), queues (array)GET /api/workers
GET /api/workers/:id
POST /api/workers/:id/heartbeat
POST /api/workers/:id/claim
DELETE /api/workers/:id
POST /api/cron
name, schedule (cron expression), job_name, queue, payloadGET /api/cron
GET /api/cron/:id
PATCH /api/cron/:id/toggle
POST /api/cron/tick
DELETE /api/cron/:id
GET /api/metrics
GET /api/metrics/throughput
GET /api/metrics/queues/:name
POST /api/metrics/reset
GET /api/rate-limit
GET /api/rate-limit/config
PATCH /api/rate-limit/config or PUT /api/rate-limit/config
POST /api/rate-limit/reset
All 38 API endpoints have been tested and verified (38/38 PASS). The test suite covers job creation, worker registration, queue operations, cron scheduling, metrics, and rate limiting functionality.
Spin up an isolated sandbox and run it server-side — no local setup.
The sandbox audition completed and the detected runnable path passed.
This Express backend / api completed archive review with strong static results. Structure, dependency manifests, documentation, functional source, and common risk patterns were checked by the Tetrees verification pipeline; runtime phases are stated separately.
Deterministic AVCP artifact review
Pipeline avcp-2026-08-04.1 · SHA-256 d9e2219ef2929558…
This version-scoped review deterministically inspects the submitted archive for structure, dependencies, documentation, functional source, and common malicious or high-risk signals. Build and test phases are reported as passed only after an isolated sandbox audition. It is not a guarantee of perfect security.
Reviewed Aug 4, 2026
The full install guide and integration prompts unlock after purchase.
Push this product straight into your AI IDE, web builder or cloud IDE.
Connect Tetrees to a compatible AI IDE, list products you own, and request the verified ZIP without exposing seller upload controls.
24 ratings
Really solid work. Used this automation setup to automate my workflow and it cut days off the build.
Worth every point. Dropped this automation setup straight into the workflow; examples matched the actual API, which is rare. No regrets.
Really solid work. Picked up this automation setup for a client workflow — No spaghetti — the folder layout is sane. Already using it in production.
Better than I expected. Picked up this automation setup for a client workflow — Components are cleanly separated and easy to extend. Five stars, would recommend to my team.
Saved me a ton of time. Picked up this automation setup for a client workflow — No spaghetti — the folder layout is sane.
Better than I expected. Dropped "Background Jobs (Queue/Worker/Scheduler) Server Manager" straight into the workflow; the README covered every config I needed. Will definitely check their other products.
Rock solid so far. The abstractions are sensible and easy to swap out, and the walkthrough got me running in minutes.
Exactly what I needed. Dropped this automation setup straight into the workflow; examples matched the actual API, which is rare. No regrets.
Worth every point. Handles the edge cases I usually have to patch myself, and the README covered every config I needed. Already using it in production.
Exactly what I needed. As someone who automates these all day, no spaghetti — the folder layout is sane.
Sign in to join the discussion
Loading discussion…