A modern, feature-rich monorepo starter template built with Turborepo, combining a React Native mobile app with a type-safe backend.
- 📱 Mobile App - React Native with Expo SDK 52
- 🔒 Authentication - Secure auth flow using Better-Auth
- 🎯 Type Safety - End-to-end typesafe APIs with tRPC
- 📦 Database - Type-safe ORM with Drizzle
- 🎨 UI Components - Shared UI library for consistent design
- 🚄� Styling - Tailwind CSS for React Native with NativeWind
- 🚄 Fast API - Lightweight Hono server
- ⚡️ Performance - Turborepo for optimal build performance
mobile
: React Native app built with Expoapi
: Backend API server using Hono
@repo/auth
: Authentication utilities and hooks@repo/db
: Database schema and Drizzle ORM setup@repo/trpc
: tRPC router definitions and procedures@repo/ui
: Shared React Native components@repo/typescript
: Shared TypeScript configurations
- Clone the repository:
git clone https://github.com/mandrillxx/turbo-expo-starter-kit.git
cd turbo-expo-starter-kit
- Install dependencies:
pnpm install
- Set up your environment variables:
cp .env.example .env
- Start the development servers:
# Start all applications
pnpm dev
The mobile app is built with Expo. To run it:
- Build development app with eas
eas build --platform ios --profile development
- Start the mobile app dev server:
pnpm dev
- Scan the QR code with Camera app (iOS)
This Turborepo includes:
- 🔍 TypeScript for static type checking
- 📝 ESLint for code linting
- 💅 Prettier for code formatting
- 🧪 Testing Library for component testing
- 📱 Expo for mobile development
- 🔄 tRPC for type-safe APIs
- 🎨 NativeWind for Tailwind CSS styling in React Native
# Build all applications and packages
pnpm build
# Run development servers
pnpm dev
# Lint all projects
pnpm lint
# Clean all builds
pnpm clean
.
├── apps
│ ├── mobile # React Native mobile app
│ └── api # Hono API server
├── packages
│ ├── auth # Authentication package
│ ├── db # Database package
│ ├── trpc # tRPC package
│ └── ui # Shared UI components
└── package.json
This template uses Better-Auth for secure authentication, supporting:
- 🔑 Email/Password authentication
- 🌐 OAuth providers (Google, GitHub, etc.)
- 📱 Mobile-specific auth flows
- 🔒 Secure session management
MIT
Built with ❤️ using Turborepo