Frontend for Sobek — Entur's national vehicle registry (Nasjonalt Materiellregister).
- React 19 + TypeScript
- Vite
- Material UI v7
- GraphQL (
graphql-request) - OIDC authentication (
react-oidc-context)
npm install
npm run dev # Dev server on http://localhost:5000Requires a running Sobek backend (default: http://localhost:37999).
| Command | Description |
|---|---|
npm run dev |
Start dev server |
npm run build |
Type-check and build (build/) |
npm run lint |
ESLint |
npm run format |
Prettier auto-format |
npm run e2e:auth |
Playwright tests (auth enabled) |
npm run e2e:no-auth |
Playwright tests (auth disabled) |
See DEV_GUIDE.md for theming, custom icons, and adding new data table pages.