A Turborepo monorepo containing a React Native/Expo mobile app and a Hono API server.
heysport/
├── apps/
│ ├── mobile/ # Expo/React Native mobile app
│ └── api/ # Hono API server (runs on Bun)
├── packages/
│ ├── typescript-config/ # Shared TypeScript configurations
│ └── types/ # Shared TypeScript types
├── turbo.json
├── package.json
└── pnpm-workspace.yaml
- Node.js >= 18.0.0
- pnpm >= 9.0.0
- Bun >= 1.0.0 (for the API server)
pnpm installRun all apps in development mode:
pnpm devThis will start:
- Mobile app (Expo Metro bundler) on port 8082
- API server on http://localhost:3001
Mobile App:
cd apps/mobile
pnpm dev
# or for specific platforms
pnpm android
pnpm ios
pnpm webAPI Server:
cd apps/api
bun devFrom the root directory:
pnpm dev- Start all apps in development modepnpm build- Build all appspnpm lint- Lint all appspnpm type-check- Type check all appspnpm clean- Clean all build artifacts
- @repo/mobile - React Native mobile app built with Expo
- @repo/api - Hono API server running on Bun
- @repo/typescript-config - Shared TypeScript configurations
- @repo/types - Shared TypeScript types and interfaces
- Monorepo: Turborepo
- Package Manager: pnpm
- Mobile: Expo, React Native, TypeScript
- API: Hono, Bun, TypeScript
- Shared: TypeScript, shared types
The API server (http://localhost:3001) exposes the following endpoints:
GET /- Health checkGET /api/users/:id- Get user by IDPOST /api/users- Create a new user
The mobile app is built with Expo and React Native, using TypeScript. It includes:
- Modern React Native setup
- TypeScript support
- Shared types from the monorepo
- Metro bundler configured for monorepo
See PORTS.md for detailed port configuration and conflict resolution.
- API: Port 3001
- Expo Metro: Port 8082
- Make changes in the appropriate package
- Run
pnpm type-checkto ensure type safety - Test your changes locally
- Submit a pull request
- README.md - This file, project overview
- GETTING_STARTED.md - Quick start guide
- SETUP.md - Detailed setup instructions
- VERIFICATION.md - Verification checklist
- PORTS.md - Port configuration reference
Private project - All rights reserved