Hype StackHypeStack

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

CommandWhat it does
pnpm devStart all dev servers (backend + frontend)
pnpm buildProduction build for all apps
pnpm typecheckRun TypeScript checks across the whole repo
pnpm lintLint 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 typecheck

Database 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:generate

Mobile 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 test

On 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:app

Docker

bash
# Start Postgres + Redis
docker compose up -d

# Stop services
docker compose down
Sponsor 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!

Sponsor on GitHub