Source code of the Koyeb control panel, accessible at app.koyeb.com.
The control panel is a React application powered by TypeScript, Vite and Tailwind CSS. It uses TanStack Router for routing, TanStack Query for data fetching, and WorkOS AuthKit for authentication.
Prerequisites:
pnpm install
pnpm run devThe dev server starts on localhost:8000.
Minimal `.env` file
VITE_ENVIRONMENT=development
PROXY_API_URL=https://app.koyeb.com
VITE_WORK_OS_API_HOST=auth.koyeb.com
VITE_WORK_OS_CLIENT_ID=client_01JZ7TR12M399YV1D6XFHXP1K6| Script | Description |
|---|---|
pnpm dev |
Start the Vite dev server |
pnpm build |
Production build |
pnpm preview |
Preview the production build locally |
pnpm test |
Run unit tests (Vitest) |
pnpm e2e |
Run end-to-end tests (Playwright) |
pnpm lint |
Run ESLint with type-checked rules |
pnpm storybook |
Start Storybook on port 6006 |
pnpm api-codegen |
Regenerate API types from the OpenAPI spec |