Task Commands
All commands use Taskfile.yml. Run from project root.
Development
| Command | Description |
|---|---|
task fullstack | Start BE + FE in parallel |
task be | Start backend only (Bun) |
task fe | Start frontend only (Vite) |
Docker
| Command | Description |
|---|---|
task docker-local | Start Postgres, Redis, MinIO |
task docker-down | Stop all containers |
task docker-restart | Restart containers |
task docker-logs | View container logs |
Database (Prisma)
| Command | Description |
|---|---|
task prisma-generate | Generate Prisma client |
task prisma-push | Push schema to database |
task prisma-all | Generate + push (use after schema changes) |
Code Generation
| Command | Description |
|---|---|
task gen -- <pkg> | Generate API code from proto |
npm run gen -- <pkg> | Same (npm alternative) |
Example: task gen -- product generates:
- •
fe/src/services/product/api.ts - •
fe/src/services/product/useQuery.ts - •
be/core/api/product/product.routes.ts - •
be/core/dto/product/*.dto.ts(once only)
Linting & Build
| Command | Description |
|---|---|
task lint | Lint all workspaces |
cd be && bun run build | Build backend |
cd fe && npm run build | Build frontend |
Testing
| Command | Description |
|---|---|
task test-integration | Run BE integration tests |
cd be && bunx vitest run | Run BE unit tests |
task e2e | Run E2E tests (sequential) |
task e2e:headed | Run E2E with browser visible |
task e2e:parallel | Run E2E with 4 workers |
task e2e:report | Show E2E test report |
E2E Docker
| Command | Description |
|---|---|
task e2e:docker-build | Build E2E Docker images |
task e2e:docker-run | Run E2E Docker stack |
Full Stack Commands
| Command | Description |
|---|---|
task iflash:full | Start infra + fullstack + E2E Docker |
task iflash:with-e2e | Start BE+FE with E2E in background |
task iflash:stop-all | Stop all services |
Install
| Command | Description |
|---|---|
npm install | Install all workspace dependencies |
Quick Reference
mermaid
flowchart LR
subgraph Dev
A[task fullstack]
B[task docker-local]
end
subgraph Build
C[task lint]
D[task gen -- pkg]
end
subgraph Test
E[task test-integration]
F[task e2e]
end
A --> C --> E
B --> A
D --> C