The MGPL Diagnostics backend: one GraphQL endpoint (GraphQL Yoga on Fastify) over the kits, plus a BullMQ worker on Redis.
-
Updated
Nov 12, 2026 - TypeScript
The MGPL Diagnostics backend: one GraphQL endpoint (GraphQL Yoga on Fastify) over the kits, plus a BullMQ worker on Redis.
Reference Next.js app: report and invoice designer on the headless client, with one backend route.
Public website of Maa Gayatri Path Lab, Arang, Raipur: Next.js, a 3D living-lab scene, test catalogue and booking.
Data layer on MongoDB or PostgreSQL behind one repository API: ACID workflows, double-entry books, Redis cache toolkit.
Security primitives for frontend and backend: device signals, client IP behind proxies, security and CORS headers, log redaction. Zero dependencies.
MGPL Diagnostics accounting engine: account groups, ledgers, vouchers, double-entry posting, trial balance, P&L, balance sheet. Our own software.
A4 lab reports as PDF in pure Node.js with matching HTML: 31 test templates, letterhead, barcode and QR. Backend library with an HTTP handler and Fastify plugin.
614 lab tests with parameters, units, methods, reference ranges, sample types and INR prices, plus fast fuzzy search. Typed, zero dependencies.
Background jobs: typed job definitions, one queue API over BullMQ on Redis or in-process, and a worker runner. No runtime dependencies.
Organisation profile, community health files and repository rules for MGPL Diagnostics.
The lab's money layer: GST engine and GSTR-1/3B data, B2B receivables, collection-centre settlements, cash and bank reconciliation, lock dates, year-end close.
Patient invoices exact to the paisa: GST, discounts, split payments, amount in words. A4 PDF and HTML on the lab letterhead.
Backend auth as an internal API: scrypt passwords, revocable sessions, rate-limited timing-safe login, password reset, branch-aware roles.
Email for MGPL Diagnostics: templates compiled to email-safe HTML and plain text, sent via the worker queue or SMTP. Zero runtime dependencies.
Headless, zero-dependency TypeScript client for the MGPL Diagnostics API, with GraphQL and session handling. Bring your own UI.
To associate your repository with the mgpl-diagnostics topic, visit your repo's landing page and select "manage topics."