27 lines
688 B
Markdown
27 lines
688 B
Markdown
# 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.
|