- docs/README.md: overview and table of contents - docs/tech_stack.md: full dependency inventory and design decisions - docs/project_structure.md: directory tree with conventions - docs/architecture.md: data flow, layer responsibilities, key patterns - docs/routing.md: route table, code splitting, discover categories - docs/state_management.md: Zustand stores and React Query conventions - docs/api_layer.md: all API modules with endpoint mappings - docs/components.md: layout, entries, collections, charts, dialogs, UI primitives - docs/pages.md: all 16 pages with features and routes - docs/styling.md: theming, CSS tokens, responsive breakpoints, animations - AGENTS.md: architecture summary, code conventions, data flow, key files
31 lines
1.8 KiB
Markdown
31 lines
1.8 KiB
Markdown
# Tech Stack
|
|
|
|
| Category | Technology | Version |
|
|
| --------------------- | --------------------------- | ------- |
|
|
| **Framework** | React | 19 |
|
|
| **Build Tool** | Vite | 8 |
|
|
| **Language** | TypeScript | 5.9 |
|
|
| **Styling** | Tailwind CSS | 4 |
|
|
| **Component Library** | shadcn/ui (base-nova style) | — |
|
|
| **Icons** | Lucide React | 1.7 |
|
|
| **State Management** | Zustand | 5 |
|
|
| **Server State** | TanStack React Query | 5 |
|
|
| **Routing** | React Router | 7 |
|
|
| **HTTP Client** | Axios | 1.14 |
|
|
| **Forms** | React Hook Form | 7 |
|
|
| **Validation** | Zod | 4 |
|
|
| **Charts** | Recharts | 3.8 |
|
|
| **Date Utilities** | date-fns | 4 |
|
|
| **Toasts** | Sonner | 2 |
|
|
|
|
---
|
|
|
|
## Key Design Decisions
|
|
|
|
- **Zustand** for synchronous client state (library cache, theme) — avoids prop drilling and provides instant updates across components.
|
|
- **React Query** for all server state — handles caching, background refetching, pagination (infinite queries), and mutation invalidation.
|
|
- **shadcn/ui** — copy-pasted, customizable primitives (not a package dependency). Located in `src/components/ui/`.
|
|
- **Tailwind CSS 4** — utility-first styling with design tokens defined as CSS custom properties in OKLCH colour space.
|
|
- **Vite** — fast HMR, native ESM, and simple proxy configuration for the backend API.
|
|
- **Lazy-loaded pages** via `React.lazy()` + `Suspense` — each page is code-split for faster initial load.
|