Skip to main content
Rohit Raj
HomeProjectsServicesReposNotesAboutContactView Current Work
← Projects

RetailOS — Multi-Tenant Retail SaaS

Active
Spring Boot 3.4.3Java 21PostgreSQL 16Redis 7MinIOFlywayDocker
View Repository →
RetailOS — Multi-Tenant Retail SaaS interface screenshot
📸Live Application Interface

Problem

Indian kirana stores and small retailers use paper registers or basic billing software with no inventory tracking, no GST compliance, and no offline support. Enterprise POS systems are too expensive and complex.

Business Impact

India's retail sector is 90% unorganized. Small retailers need affordable, GST-compliant software that works offline. RetailOS delivers enterprise features at SME pricing with multi-tenant architecture enabling infinite scale.

System Approach

  • Spring Boot 3.4.3 + Java 21 with Maven multi-module architecture (12 modules)
  • PostgreSQL 16 with row-level tenant isolation and Flyway migrations
  • Redis 7 for session management, caching, and rate limiting
  • MinIO (S3-compatible) for file storage — product images, invoices, KYC documents
  • Dedicated modules: auth, tenant, KYC, inventory, billing, invoicing, khata, file, sync, analytics, admin, audit
  • Offline sync module with queue-based conflict resolution
  • DPDP consent management in KYC module for regulatory compliance

Key Decisions & Trade-offs

  • Multi-module monorepo over microservices — faster development, simpler deployment for early stage
  • Row-level tenant isolation over schema-per-tenant — scales to thousands of tenants without DB overhead
  • MinIO over AWS S3 — self-hosted for cost control, S3-compatible for future migration
  • Khata module as first-class citizen — credit ledger is how 70% of Indian retail actually works
  • Offline sync with conflict resolution — internet is unreliable in target markets

Current Status

Full platform scaffold with 12 modules. Auth with JWT + OTP, tenant management, inventory CRUD, billing/POS, GST invoice generation, khata ledger, file uploads, and audit trail all functional.

Roadmap

  • Add barcode scanning for inventory management
  • Implement multi-warehouse stock transfers
  • Add WhatsApp invoice sharing for customers
  • Build React Native mobile POS app

What I'd Improve Next

  • Could add AI-powered demand forecasting for inventory optimization
  • Consider adding payment gateway integration for digital payments

Explore More

  • ClinicAI — WhatsApp AI Clinic Assistant — India has 12 lakh+ small clinics running on phone calls and paper diaries.
  • MicroItinerary — AI Travel Planner — Travel apps optimize for proximity and ratings.
  • StellarMIND — Chat-to-SQL with RAG — Business users need to query databases without knowing SQL.
  • MyFinancial — Personal Financial Advisor — Financial planning in India is fragmented across banks, insurance, and tax documents.
  • SanatanApp — Hindu Devotional App — Devotional users in India juggle 5+ separate apps for Chalisa, Gita, Aarti, Ramayan, and Mahabharat.
  • SynFlow — Enterprise Intelligence Platform — Private deal networks rely on manual introductions and spreadsheets.
  • FinBaby (Jama) — Personal Finance Tracker — Indian middle-class families track expenses across UPI apps, bank statements, and paper notebooks.
  • TripHive — Offline-First Collaborative Trip Planner — Group trip planning is fragmented across WhatsApp, Google Docs, Maps, Splitwise, and email.
  • ScamRakshak — On-Device AI Scam Detector — Indians lose thousands of crores annually to digital scams via WhatsApp, SMS, and social media.
  • PaisaGuard — Family Budget Survival App — Middle-class families worldwide track expenses inconsistently — UPI apps show transactions but don't enforce budgets.
  • rohitraj.tech — Engineering work is often invisible.
  • Reliability & Production Readiness — Load testing, observability, and API contracts.
  • Open Source Repos — Browse the source code behind these projects.

Rohit Raj — Backend & AI Systems

WhatsAppGitHubLinkedInEmail

Services

Mobile App DevelopmentAI Chatbot DevelopmentFull-Stack Development

Get Updates