This repo is an Nx (v22) monorepo containing:
mobile(Expo SDK 54 app)api(NestJS 11 API)shared-schema(TypeScript contract library shared by both)
- Node.js 22+ (recommended)
- npm 10+
- Expo Go installed on your phone (for quick device testing)
npm installBuild then run the compiled output:
npx nx build api
node dist/apps/api/main.jsThe API should start at http://localhost:3000/api.
Start Metro via Nx:
npx nx start mobileThen:
- open Expo Go on your phone
- scan the QR code shown in the terminal
Note: In an Nx monorepo, expo-doctor may warn about Metro projectRoot being the workspace root. Nx intentionally sets this for SDK 54+ monorepo module resolution.
npx nx test api
npx nx test mobile(shared-schema currently has no test target.)
npx nx show projects
npx nx graph
npx nx reset