Deep DivesAdmin

Tech Specification

Technical specification for the RawStack Admin component.

Runtime

LanguageTypeScript
Build toolVite v6
FrameworkReact v19
RoutingReact Router v7
Dev server port5173 (default Vite)

Key dependencies

PackagePurpose
viteBuild tool and dev server
react-router-domClient-side routing
@rawstack/api-clientTyped API client
@tanstack/react-queryServer state and caching
@tanstack/react-tableData tables
@dnd-kit/*Drag-and-drop
@radix-ui/*UI primitives (dialog, dropdown, select, tabs, etc.)
@tabler/icons-reactIcon set
react-hook-formForm state
zodValidation
axiosHTTP client
tailwindcssStyling
next-themesDark mode

Build output

Vite produces a fully static dist/ folder. All assets are content-hashed for cache-busting. The SPA uses a single index.html entry point — the S3 + CloudFront configuration handles routing by returning index.html for all paths.

Environment variables

Vite exposes variables prefixed with VITE_ to the client bundle:

VITE_API_URL=http://localhost:3001