Unified repository for DevDoc services and shared contracts.
apps/web: Next.js Frontend (UI).services/bff: Next.js BFF (API Gateway/Orchestration).services/journal-service: Node.js Express service with Prisma.services/rag-service: FastAPI Python service for RAG.packages/contracts: Shared API type definitions (TypeScript & Python).
From the root directory:
pnpm installpnpm run build# Run in development mode
pnpm --filter devdoc-journal-service dev
# Database migrations
cd services/journal-service
npx prisma migrate devcd services/rag-service
# Setup virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
pip install -e ../../packages/contractsIf you modify types in packages/contracts, rebuild them to sync with other services:
pnpm --filter devdoc-contracts buildpnpm run build: Build all packages and services.pnpm run test: Run tests across the entire workspace.pnpm -r <command>: Run a command in every package.