# niro0526/teamzenova_rightgo architecture

> Architecture diagram of the GitHub repository niro0526/teamzenova_rightgo, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/niro0526/teamzenova_rightgo
- Repository: https://github.com/niro0526/teamzenova_rightgo

## Overview

RightGo is presented as a logistics intelligence platform, but the checked-in frontend is only a “coming soon” landing page. The README describes a FastAPI backend, PostgreSQL, lateness prediction, and demand forecasting; their implementation files are absent from the tree, so these appear as documented capabilities without inferred runtime connections. The only evidenced user-facing behavior is viewing the landing page.

Main entry points: [`Client/src/app/page.tsx`](https://github.com/niro0526/teamzenova_rightgo/blob/main/Client/src/app/page.tsx) (Coming-soon page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Web frontend"]
  node_landing["Coming-soon page<br/>[page.tsx]"]
end

subgraph group_backend["Backend API"]
  node_api["FastAPI REST API"]
end

subgraph group_ml["ML services"]
  node_lateness["Lateness prediction"]
  node_forecast["Demand forecasting"]
end

node_visitor(("Visitor"))
node_postgres[("PostgreSQL")]

node_visitor -->|"views"| node_landing

click node_landing "https://github.com/niro0526/teamzenova_rightgo/blob/main/Client/src/app/page.tsx"
click node_api "https://github.com/niro0526/teamzenova_rightgo/tree/main/Server/app"
click node_lateness "https://github.com/niro0526/teamzenova_rightgo/tree/main/ml/task1_service_lateness"
click node_forecast "https://github.com/niro0526/teamzenova_rightgo/tree/main/ml/task2_demand_forecasting"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_landing toneBlue
class node_api,node_postgres toneAmber
class node_lateness,node_forecast toneMint
class node_visitor toneIndigo
```

## Components

### Web frontend

- [Coming-soon page](https://github.com/niro0526/teamzenova_rightgo/blob/main/Client/src/app/page.tsx): `Client/src/app/page.tsx`

### Backend API

- [FastAPI REST API](https://github.com/niro0526/teamzenova_rightgo/tree/main/Server/app): `Server/app`

### ML services

- [Lateness prediction](https://github.com/niro0526/teamzenova_rightgo/tree/main/ml/task1_service_lateness): `ml/task1_service_lateness`
- [Demand forecasting](https://github.com/niro0526/teamzenova_rightgo/tree/main/ml/task2_demand_forecasting): `ml/task2_demand_forecasting`

### Other components

- **Visitor**
- **PostgreSQL**

## Connections

- Visitor → Coming-soon page: views (evidence: `Client/src/app/page.tsx`)
