Commands
From the monorepo root (ai-saas-starter/).
Development
| Task | Command |
|---|---|
| Install | npm install |
| Demo (mock) | npx nx serve demo |
| Web (Supabase) | npm run db:start then npm run start:web |
| API console | npm run start:api-console (port 4202) |
| Docs site | npm run docs:dev |
Quality
| Task | Command |
|---|---|
| Lint all | npx nx run-many -t lint |
| Port unit tests | npx nx run-many -t test --projects=ports |
| E2E demo | npm run e2e |
| E2E web | npm run e2e:web:release |
| Edge shared tests | npm run test:edge-shared |
Build
| Task | Command |
|---|---|
| Build web | npx nx build web |
| Build demo (static hosting) | npm run build:pages |
| Build docs | npm run docs:build |
Database
| Task | Command |
|---|---|
| Start Supabase | npm run db:start |
| Stop | npm run db:stop |
| Reset (local) | npm run db:reset |
| Status | npm run db:status |
Generation catalog sync
After editing libs/generation-core:
npm run catalog:syncLast updated on