Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mandrillxx/turbo-expo-starter-kit
Full Stack Monorepo Mobile Development Starter Kit
https://github.com/mandrillxx/turbo-expo-starter-kit
betterauth expo hono mobile nativewind turbo typescript
Last synced: about 1 month ago
JSON representation
Full Stack Monorepo Mobile Development Starter Kit
- Host: GitHub
- URL: https://github.com/mandrillxx/turbo-expo-starter-kit
- Owner: mandrillxx
- Created: 2024-12-07T07:06:13.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-07T17:39:33.000Z (about 2 months ago)
- Last Synced: 2024-12-07T18:27:24.802Z (about 2 months ago)
- Topics: betterauth, expo, hono, mobile, nativewind, turbo, typescript
- Language: TypeScript
- Homepage:
- Size: 14.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ Full-Stack Turborepo Starter
A modern, feature-rich monorepo starter template built with Turborepo, combining a React Native mobile app with a type-safe backend.
## โจ Features
- ๐ฑ **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## ๐ฆ What's Inside?
### Apps
- `mobile`: React Native app built with Expo
- `api`: Backend API server using Hono### Packages
- `@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## ๐ Getting Started
1. Clone the repository:
```bash
git clone https://github.com/mandrillxx/turbo-expo-starter-kit.git
cd turbo-expo-starter-kit
```2. Install dependencies:
```bash
pnpm install
```3. Set up your environment variables:
```bash
cp .env.example .env
```4. Start the development servers:
```bash
# Start all applications
pnpm dev
```## ๐ฑ Mobile Development
The mobile app is built with Expo. To run it:
1. Build development app with eas
```bash
eas build --platform ios --profile development
```
2. Start the mobile app dev server:```bash
pnpm dev
```
3. Scan the QR code with Camera app (iOS)## ๐ Development Tools
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## ๐ Useful Commands
```bash
# Build all applications and packages
pnpm build# Run development servers
pnpm dev# Lint all projects
pnpm lint# Clean all builds
pnpm clean
```## ๐ Project Structure
```
.
โโโ 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
```## ๐ Authentication
This template uses [Better-Auth](https://www.better-auth.com) for secure authentication, supporting:
- ๐ Email/Password authentication
- ๐ OAuth providers (Google, GitHub, etc.)
- ๐ฑ Mobile-specific auth flows
- ๐ Secure session management## ๐ License
MIT
---
Built with โค๏ธ using [Turborepo](https://turbo.build/repo)