Skip to main content

Overview

PyqDeck is a pnpm monorepo containing two independent packages: backend and frontend. Each package has its own package.json, dependencies, and scripts, but they share a common root for tooling and CI.

Design Principles

  1. Independent Deployability: Each package can be built and deployed independently.
  2. Clear Boundaries: The only coupling is the API contract (openapi.json).
  3. Shared Tooling: Root-level scripts for linting, formatting, and CI.

API Contract: The Only Coupling

The only dependency between frontend and backend is the OpenAPI spec:
This is enforced in CI to prevent API drift. For more details, see the SDK Flow.

Deployment Targets

Key Directories

  • backend/src/: The Express.js source code.
  • frontend/src/: The Next.js source code.
  • .github/workflows/: CI/CD automation.
  • docs/: This Wiki documentation.