Commands
All commands run from the monorepo root using pnpm. Nx handles dependency ordering, so pnpm dev starts services in the
right sequence.
Everyday commands
| Command | What it does |
|---|---|
pnpm dev | Start all dev servers (backend + frontend) |
pnpm build | Production build for all apps |
pnpm typecheck | Run TypeScript checks across the whole repo |
pnpm lint | Lint all apps and packages |
Per-app commands
Target a specific app with --filter:
bash
# Backend only
pnpm --filter @hype-stack/backend dev
pnpm --filter @hype-stack/backend typecheck
# Frontend only
pnpm --filter @hype-stack/frontend dev
pnpm --filter @hype-stack/frontend typecheckDatabase commands
bash
# Run pending migrations
pnpm --filter @hype-stack/backend prisma:migrate
# Open Prisma Studio (visual DB browser)
pnpm --filter @hype-stack/backend prisma:studio
# Generate Prisma client after schema changes
pnpm --filter @hype-stack/backend prisma:generateMobile app
The Expo app is apps/mobile. pnpm dev starts Metro with the other serve targets. To run it alone:
bash
pnpm --filter @hype-stack/mobile serve
pnpm --filter @hype-stack/mobile ios
pnpm --filter @hype-stack/mobile android
pnpm --filter @hype-stack/mobile testOn a physical iPhone, install Expo Go from sign.expo.dev, not the App Store. Full walkthrough: Mobile.
Desktop app
bash
# Start the Electron app with hot reload
pnpm --filter @hype-stack/frontend start:appDocker
bash
# Start Postgres + Redis
docker compose up -d
# Stop services
docker compose downSponsor open source
Every purchase and sponsorship funds my 8+ years of work on open source given freely to the community. It keeps the lights on, funds new packs, and keeps the ecosystem alive. Even a small tier means a lot. Thank you!
