Quickstart Guide
Follow the canonical local development setup in the root README. It owns the installation, environment, database, build, and startup commands.Prerequisites
- Node.js 22.22.1 (
.nvmrc;package.jsonrequires^22.22.1) - pnpm 12.3.4 (
package.json’spackageManager) - PostgreSQL or a local Supabase instance
- Docker for Redis
- Temporal CLI for a local Temporal server
- Auth0 and Supabase credentials for the services you use
.github/actions/setup-node-pnpm/action.yml reads the pnpm pin from package.json and defaults to Node.js 22.
Setup
Use the README steps in order:- Install dependencies.
- Configure environment variables. The templates are
apps/webapp/.env.example,apps/temporal-workers/.env.example, andpackages/database/.env.example; there is no root template. See the Environment Setup Guide for variable descriptions. - Prepare the database. Use the root
pnpm db:pushscript so Prisma runs in the database workspace with its configuration. - Build workspace packages and seed.
- Start supporting services, then start CONA.
http://localhost:3000 to access the application.
Documentation Development
Start the documentation server:http://localhost:4001 to preview the documentation.
For more details about working with our documentation, see the docs guide.
Development Best Practices
-
Package Management
- Always use PNPM for package management
- Run scripts using
pnpm runorpnpm test
-
Code Style
- Write functional TypeScript code
- Follow established project structure
- Use descriptive variable names