Sapalens Monorepo — Repository Structure (summary) Generated for Google Cloud Technical Due Diligence Repository: https://github.com/goldenfoodvn/Sapalens sapalens/ ├── apps/ # Client applications │ ├── web/ # Next.js 15 — sapalens.com (Identity OS gateway) │ ├── admin/ # Admin governance console │ ├── partner-dashboard/ # Partner operations workspace │ └── mobile/ # React Native mobile shell ├── packages/ # Shared libraries │ ├── ui/ # Design system (@sapalens/ui) │ ├── shared-types/ # Cross-service TypeScript types │ └── ... ├── gateway/ # API Gateway — IAM, JWT, routing, rate limits ├── core/ # Core domain microservices │ ├── identity-service/ # Auth, OAuth, Visa, JWT RS256 │ ├── team-service/ │ ├── product-service/ │ ├── order-service/ │ ├── finance-service/ │ └── affiliate-service/ ├── platform/ # Platform microservices │ ├── media-service/ │ ├── notification-service/ │ ├── device-service/ # IoT, cameras, telemetry │ ├── content-service/ │ ├── maps-service/ │ ├── streaming-service/ │ ├── marketing-service/ │ ├── localization-service/ │ ├── competition-service/ │ ├── partner-service/ │ ├── reporting-service/ │ └── pageviet-service/ # PageViet pSEO platform ├── ai/ # AI agents, tools, concierge ├── deploy/ # Docker Compose, Caddy, GCP runbooks ├── docs/ # Architecture, SOP, service catalog ├── infrastructure/ # Observability, infra configs └── tools/ # Dev tooling, probes, scripts Key routes (production): / Gateway entry · Identity OS /startup Technical Due Diligence Portal /architecture System architecture overview /cloud Google Cloud migration plan /visa Explorer Visa gateway /partner Partner workspace /devices Device & IoT cloud /distribution Supply chain workspace /logistics Logistics war room /admin Governance console Stack: Next.js 15 · React · Tailwind · NestJS/Node microservices · PostgreSQL · Redis · Docker · GCP VM