Routes & Sitemap
All application routes and navigation. Last updated: February 2026
1 Client Routes
| Path | Component | Description |
|---|---|---|
/ |
HomePage |
Landing page. Intro to VizAdvisor, call-to-action to start advising |
/advisor |
AdvisorPage |
Main tool. Upload data, set goal, get LLM recommendations. Pre/post analysis panels |
/about |
AboutPage |
What the tool does, how it works, data handling |
* |
— | Redirects to / (404 fallback) |
3 API Endpoints (Server)
| Method | Path | Purpose |
|---|---|---|
POST |
/api/recommend |
Proxy to LLM (Anthropic/OpenAI). Forwards messages, returns completion |
POST |
/api/analyze |
Run R or Python analysis. Body: { engine, analysisType, data, config } |
4 Route Configuration
Defined in src/App.jsx:
<Routes>
<Route path="/" element={<HomePage />} />
<Route path="/advisor" element={<AdvisorPage />} />
<Route path="/about" element={<AboutPage />} />
<Route path="*" element={<Navigate to="/" replace />} />
</Routes>Pages are lazy-loaded for code splitting.
5 Default Entry
run.shopenshttp://localhost:5173/advisorby default- Vite dev server:
http://localhost:5173