гора.
Last-mile delivery / regulated niche

Pharmacy Delivery Platform

Last-mile delivery platform for a regulated niche: one codebase, five interfaces, six roles, and a custom loyalty program.

Region
Miami, Florida
Role
Tech lead, fullstack developer
Period
2024–2026
Industry
Last-mile delivery / regulated niche

All screenshots contain demo data: brand, products, customer contacts, and real domain names are masked under NDA. Section titles and business logic are described without ties to a specific client.

This is the project overview. What follows is three parallel narratives, each tailored to its own audience: business logic for non-technical readers, an admin panel overview for the operations team, and the technical stack for engineers.

Each section is self-contained. Read them in order or jump straight to the one you need.

What's inside

  • Eleven apps in a single monorepo: API, web storefront, admin, three Telegram mini-apps, three Python bots, two mobile skeletons.
  • Thirty-six NestJS modules and forty-three TypeORM entities — from orders to audit-trail.
  • Real-time driver tracking through Socket.IO + Redis pub/sub into Python bots.
  • Custom loyalty program: wallet, cashback, referral QR program, premium tier that bypasses limits.
  • Bulk generation of unique promo codes and QR campaigns with conversion tracking.
  • Cash register reconciliation: cash drop, EOD, COG, daily P&L.
  • Custom event analytics on top of client_events + rrweb replay (auth-only, masked inputs).
  • Smart path filter in CI rebuilds only the changed services out of nine.
  • Audit trail with grouped changes and context-aware value formatting.
  • Telegram WebApp HMAC, OTP via Twilio A2P + SMS-Gate Android round-robin.

Stack

  • Turborepo monorepo
  • NestJS 10
  • TypeORM + PostgreSQL 16
  • Redis 7
  • Next.js 14
  • React 18 / 19
  • Vite 6 / 7
  • Tailwind CSS
  • Zustand + React Query
  • Recharts
  • Socket.IO
  • aiogram 3 (Python)
  • Telegram WebApp HMAC
  • Docker compose
  • GitHub Actions → GHCR
  • nginx + Let's Encrypt
  • Twilio A2P
  • SMS-Gate Android
  • Pushover
  • rrweb session replay
  • BTC / ETH / USDT / USDC / TRC-20
Pharmacy Delivery Platform · hiregora.com