由 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.
启动隔离沙箱并在服务器端直接运行 — 无需本地配置。
沙箱验证已完成,检测到的可运行路径已通过。
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
管道 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.
审查日期 2026年8月4日
完整安装指南与集成提示词将在购买后解锁。
将此产品直接导入你的 AI IDE、网页构建器或云端 IDE。
将 Tetrees 连接到兼容的 AI IDE,列出你拥有的产品并获取已验证 ZIP,同时不会开放卖家上传权限。
24 条评价
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…