A monorepo containing both mobile and web applications for MedTech Games.
medtech-games/
├── apps/
│ ├── medtech-mobile/ # Expo React Native mobile app
│ └── medtech-web/ # React web application
├── packages/
│ └── assets/ # Shared assets package
└── turbo.json # Turborepo configuration
- Node.js (v16 or higher recommended)
- npm or yarn
- For mobile development: Expo Go app (iOS/Android) or emulator
npm installThis will install dependencies for all workspaces.
npm run dev- Start all apps in development modenpm run build- Build all appsnpm run lint- Lint all apps
cd apps/medtech-mobile
# Start Expo development server
npm start
# Run on Android
npm run android
# Run on iOS
npm run ios
# Run on web
npm run webcd apps/medtech-web
# Start development server (port 30017)
npm start
# Build for production
npm run buildThe monorepo uses workspace references. To use shared assets:
// In any app
import { logo } from '@medtech/assets';- Mobile: Expo + React Native
- Web: React + Create React App
- Monorepo: Turborepo + npm workspaces
Both apps share common dependencies through the monorepo structure. When you run commands from the root:
npm run devwill start all dev serversnpm run buildwill build all apps- Changes to shared packages are reflected immediately