Skip to main content

๐Ÿ—๏ธ Build Guide

Build the NestFlux monorepo for production deployment.

๐Ÿš€ Build Everythingโ€‹

Build the entire project:

pnpm build

This builds shared packages first, then client and server applications in the correct dependency order.

๐Ÿ”ง Build Individual Partsโ€‹

๐Ÿ“ฆ All Packagesโ€‹

pnpm build:packages

Builds all shared packages (@shared/*) that client and server depend on.

โš›๏ธ Clientโ€‹

pnpm build:client

Builds the React frontend application with Vite. Output: apps/client/dist/

๐Ÿš€ Serverโ€‹

pnpm build:server

Builds the NestJS backend API. Output: apps/server/dist/

โš ๏ธ Note: Always build packages first before building client or server.