ac64d2ee22
Preserve the real result count and localized date. Zero and multiple entries keep the existing translations. The Bokmål search noun has the same form in both cases. Verified fromf6143b9cwith 37 component tests and six isolated Chromium/SQLite journeys on ports 4397/5397. New zero/one/two checks reproduced three singular failures before the fix. Next static export, TypeScript and scoped lint passed. (cherry picked from commit86d2305e64)
Job Tracker frontend
This directory contains the statically exported Next.js 16 / React 19 / TypeScript frontend. Next supplies the build shell; React Router and src/App.tsx define the application routes.
Development and checks
npm ci
npm run dev
npm run lint
npm test -- --runInBand
npm run typecheck
npm run build
Open http://localhost:3000; local API calls use http://localhost:5202/api. Install Chromium once and run npm run test:e2e for the isolated browser suite.
NEXT_PUBLIC_API_BASE_URL is the only browser-visible API setting. Leave it empty in production so nginx proxies same-origin /api requests. It is embedded at build time and must never contain secrets.
See the repository frontend guide and configuration reference.