Presentation site for ChargeFlow — a CLI tool for validating raw OCPP JSON messages against the official schemas, for debugging and compatibility checks with Charge Point Management Systems and Charge Point implementations.
- React + Vite + TypeScript
- Tailwind CSS v4
- shadcn/ui
- pnpm
Requires Node 20+ (see .nvmrc) and pnpm.
pnpm install
pnpm devThe site is served at http://localhost:5173.
docker compose up webServes the dev server with hot reload at http://localhost:5173.
To sanity-check the production build (static assets served via nginx):
docker compose --profile prod up web-prodServes the built site at http://localhost:8080.
| Script | Description |
|---|---|
pnpm dev |
Start the Vite dev server |
pnpm build |
Type-check and build for production |
pnpm preview |
Preview the production build locally |
pnpm lint |
Run ESLint |
pnpm lint:fix |
Run ESLint with autofix |
pnpm format |
Format all files with Prettier |
pnpm format:check |
Check formatting without writing |
pnpm typecheck |
Type-check without emitting |
src/
├── components/
│ ├── ui/ shadcn/ui primitives
│ ├── layout/ Header, Footer
│ └── sections/ Page sections (Hero, Problem, Solution, Demo, ...)
├── data/ Terminal demo transcript and compatibility matrix content
└── lib/ Shared utilities and constants
MIT