Welcome to the BotControl Monorepo.
- Node.js LTS (>=20)
- pnpm (>=9)
- Supabase CLI (optional, but recommended for DB migrations)
- Wrangler (for Cloudflare Workers)
- Clone the repository.
- Run
pnpm installin the root directory. - Configure your environmental variables (
apps/api-worker/.dev.vars,apps/web/.env). - Run Supabase locally or link to a remote instance.
pnpm dev: Starts both the Worker and the Web app in parallel.pnpm build: Builds all packages.pnpm lint: Runs ESLint on all projects.pnpm test: Runs Unit tests.pnpm e2e: Runs E2E Playwright tests.
pnpm deploy:web: Deploys the UI to Cloudflare Pages.pnpm deploy:api: Deploys the worker to Cloudflare Workers.pnpm db:migrateandpnpm db:seed: Migrates and seeds your Supabase DB.