BethOS — Bethlehem’s Hub
A SaaS-ready operating system for high-volume QSR & decentralized logistics
BethOS is a comprehensive, multi-tenant operating system that automates high-volume Quick Service Restaurants (QSRs) and decentralized food networks. It sits between the kitchen, the ledger, and the customer — and keeps all three honest.
The vision
To empower decentralized food businesses with hub-and-spoke operational intelligence — zero food waste, 100% financial transparency, and automated last-mile fulfillment.
Operational architecture — hub-and-spoke
- The hub (the factory): bulk procurement, processing, and assembly.
- The spoke (the distribution): satellite kiosks for final heating, POS sales, and last-mile dispatch.
- Just-in-time prep: food is never finished until the customer or rider is present — ghost orders are eliminated at the source.
Core technical innovations
- Multi-tenant isolation: secure data partitioning for many organizations via global Prisma interceptors.
- Profit-first engine: revenue is split into Profit, Tax, and OPEX buckets at the point of sale.
- WhatsApp-first integration: order confirmations, OTPs, and status alerts through a Redis-backed notification queue.
- Zero-carryover policy: stock must be empty at closing — enforced by a double-entry ledger that prevents cash leaks.
Tech stack
- Backend
- Node.js (NestJS), PostgreSQL (Prisma), Redis (BullMQ)
- Frontend
- React, Vite, Tailwind CSS, Shadcn UI
- Integrations
- WhatsApp API, Monnify (payments), Google Maps API
- Logistics
- Geo-fenced clock-ins, batch-window optimization algorithms
The command center. God-mode dashboard — financial intelligence, live logistics maps, and manufacturing MRP.
The edge. Offline-first tablet interface — kitchen display, inventory auditing, and zero-heat verification.
The order. Frictionless web SPA — lazy auth, WhatsApp-linked BethCoins, and live delivery tracking.
The last mile. Mobile-optimized mission batching, trajectory tracking, and secure PIN verification.
The network. Vendor and influencer dashboards with automated commission settlement.
Five applications, one codebase, one double-entry ledger at the centre.