···4344```bash
45# Build commands
46-pnpm build # Build frontend first, then backend
47-pnpm build:appview # Build only the backend
48-pnpm build:client # Build only the frontend
04950# Start commands
51-pnpm start # Start the server (serves API and frontend)
52-pnpm start:client # Start frontend development server only
53-pnpm start:dev # Start both backend and frontend separately (development only)
5455# Other utilities
56-pnpm typecheck # Run type checking
57-pnpm format # Format all code
58```
5960## Deployment
6162For production deployment:
6364-1. Build both packages:
65 ```bash
66 pnpm build
67 ```
6869 This will:
70- - Build the frontend (`packages/client`) first
71- - Then build the backend (`packages/appview`)
072732. Start the server:
74 ```bash
···4344```bash
45# Build commands
46+pnpm build # Build in correct order: lexicon → client → appview
47+pnpm build:lexicon # Build only the lexicon package (type definitions)
48+pnpm build:client # Build only the frontend
49+pnpm build:appview # Build only the backend
5051# Start commands
52+pnpm start # Start the server (serves API and frontend)
53+pnpm start:client # Start frontend development server only
54+pnpm start:dev # Start both backend and frontend separately (development only)
5556# Other utilities
57+pnpm typecheck # Run type checking
58+pnpm format # Format all code
59```
6061## Deployment
6263For production deployment:
6465+1. Build all packages in the correct order:
66 ```bash
67 pnpm build
68 ```
6970 This will:
71+ - Build the lexicon package first (shared type definitions)
72+ - Build the frontend (`packages/client`) next
73+ - Finally build the backend (`packages/appview`)
74752. Start the server:
76 ```bash