809 B
809 B
nexus/frontend
Nexus web frontend. Built with React + TypeScript + Vite.
Development
npm install
npm run dev # dev server on http://localhost:5173
npm run build # production build to dist/
npm run test # unit tests (vitest)
npm run lint # eslint + tsc
Structure
src/
components/ — reusable UI components
pages/ — route-level page components
hooks/ — custom React hooks
api/ — API client and types
styles/ — global styles and design tokens
utils/ — pure utility functions
Environment variables
Copy .env.example to .env.local for local development.
Feature flags
Runtime feature flags are controlled via VITE_FLAGS_* env vars.
See src/utils/flags.ts for usage.