Project ClientZero/clientzero-fe Public

ClientZero FrontEnd

6 branches
clientzero-fe
README

clientzero-fe

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.

Technology

AreaWhat we use
FrameworkNext.js 16 (App Router), React 19, TypeScript
Styling and componentsTailwind CSS 4, shadcn/ui on Base UI, lucide icons, the ClientZero palette
API clientopenapi-typescript and openapi-fetch, generated from the backend's docs/openapi.json
Auththe 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 qualityVitest and Testing Library, Playwright, ESLint, Prettier
Hosting and CICodePinion 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.

License and contributing

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.

Sprints and tasks

Work is tracked on CodePinion. Install the CodePinion skill to manage sprints, tasks and goals; see CONTRIBUTING.md.

About

ClientZero FrontEnd

6 branches
AGPL-3.0-only
Updated about 11 hours ago
Contributors

Languages

TypeScript99%
CSS0.9%
JavaScript0.1%

Clone

https://api.codepinion.co.ke/git/project-clientzero/clientzero-fe.git
git clone https://api.codepinion.co.ke/git/project-clientzero/clientzero-fe.git