Skip to content

Architecture

tritrient-yuchen edited this page Aug 4, 2026 · 2 revisions

Architecture

Status: documentation skeleton

Application layers

  • Frontend: React pages, shared components, routing, localization, and responsive styles.
  • Node API: Express routes for authentication, application data, platform state, payments, updates, and persistence boundaries.
  • Python AI service: generation workflows, LangGraph nodes, model calls, and financial forecast logic.
  • PostgreSQL: relational domain records and Strategic Reports.
  • MongoDB: dynamic platform configuration and workspace state.
  • Reverse proxy: Caddy or Traefik terminates HTTPS and routes public traffic.

Data flow

Browser -> Reverse proxy -> Node API -> PostgreSQL / MongoDB
                         \-> Python AI service -> configured LLM provider

Planned details

  • Add request and response flow diagrams.
  • Document authentication and session boundaries.
  • Document Strategic Report and forecast persistence.
  • Document local versus production service topology.

Clone this wiki locally