Royal Glow internal docs · now fully interactive — Steps, API tables, file trees & live status
Royal Glow Docs
System Design

System Design

High-level and low-level design documents for the Royal Glow platform.

System Design

This section contains the formal system design documentation for the Royal Glow Salon & Spa platform — written to staff-engineer review standard.

Royal Glow is a monolithic modular monorepo targeting 20k–50k registered users at ₹0/month infrastructure cost. Read the High-Level Design for architecture and decisions; the Low-Level Design for state machines, sequences, and schema detail.

At a Glance

Prop

Type

Architecture Style

Monolithic modular architecture — not microservices.

The codebase uses strict layer separation within a monorepo to achieve the modularity benefits of microservices without the operational burden. Each layer has explicit import boundaries enforced by the package structure.

Presentation → API (thin) → Business Logic → Data Access → Database

No database queries in API routes. No framework dependencies in business logic. No I/O in pure functions.

Key Design Decisions

OpenReport an issue

Was this page helpful?

On this page