ClientZero FrontEnd
ClientZero helps startups find their first clients: co-founders, businesses, other startups and beta testers. This is the frontend: Next.js (App Router), Tailwind, shadcn/ui, deployed as a CodePinion Hosted App. See docs/PRODUCT.md for what it must deliver.
Status: early. Sign-up, sign-in (email, Google, GitHub and CodePinion), email verification, password reset and a placeholder dashboard work against the backend, with a typed API client. Companies, matches and the landing page are not built yet.
| Area | What we use |
|---|---|
| Framework | Next.js 16 (App Router), React 19, TypeScript |
| Styling and components | Tailwind CSS 4, shadcn/ui on Base UI, lucide icons, the ClientZero palette |
| API client | openapi-typescript and openapi-fetch, generated from the backend's docs/openapi.json |
| Auth | the backend's JWTs: access token in memory, refresh through an httpOnly cookie |
| Landing page (planned) | Three.js through react-three-fiber, with reduced-motion and no-WebGL fallbacks |
| Tests and quality | Vitest and Testing Library, Playwright, ESLint, Prettier |
| Hosting and CI | CodePinion Hosted App and its own workflow files in .codepinion/workflows/ |
The backend is a separate repository, clientzero-be. Run it too, with a worker (see its
docs/CELERY.md), for sign-up emails: they print in the worker's terminal.
npm ci
cp .env.example .env.local
npm run dev # http://localhost:3000
npm run check # eslint, prettier, tsc, vitest
npm run test:e2e # Playwright (npx playwright install chromium first)
Errors and logging: see docs/LOGGING.md.
All tests live in tests/ (unit/ mirrors src/, e2e/ for Playwright).
See docs/ for architecture and decisions.
The backend publishes its OpenAPI schema at /api/schema/ (Swagger UI at /api/docs/).
The typed API client is generated from a copy of it: npm run api:generate.
Licensed under the GNU AGPL-3.0. Contributions are welcome from anyone; see CONTRIBUTING.md (commits are signed off under the DCO). The ClientZero name and logo are not licensed for reuse; see TRADEMARK.md.
Work is tracked on CodePinion. Install the CodePinion skill to manage sprints, tasks and goals; see CONTRIBUTING.md.
ClientZero FrontEnd