https://github.com/jonluca/mobile-boilerplate
https://github.com/jonluca/mobile-boilerplate
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonluca/mobile-boilerplate
- Owner: jonluca
- Created: 2026-03-08T04:29:16.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-03-10T06:29:26.000Z (3 months ago)
- Last Synced: 2026-03-10T14:27:06.829Z (3 months ago)
- Language: TypeScript
- Size: 483 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mobile Boilerplate
A native-first Expo starter modeled on Palate's reusable architecture. It includes Expo Router with native tabs, Hono + tRPC, Better Auth with Apple sign-in, Drizzle/Postgres, Zustand persistence, TanStack Query, Uniwind, and an `@expo/ui` showcase screen.
## Prerequisites
- Node.js 24+
- pnpm 10
- Xcode or Android Studio for development builds
- PostgreSQL for the backend
## Setup
```bash
pnpm install
cp .env.example .env
pnpm auth:generate
pnpm db:generate
pnpm server:dev
```
In another terminal:
```bash
pnpm ios
# or
pnpm android
```
## Scripts
```bash
pnpm dev # Expo dev client
pnpm ios # Run iOS build
pnpm mobile:prepare # Regenerate native projects with a clean prebuild
pnpm mobile:dev # Run iOS dev build on a connected device
pnpm android # Run Android build
pnpm server:dev # Hono dev server
pnpm build # Build backend bundle
pnpm start # Start backend bundle
pnpm typecheck
pnpm lint
pnpm format:check
```
## Environment
See [`.env.example`](/Users/jonlucadecaro/Documents/Other/mobile-boilerplate/.env.example) for required values. Apple sign-in remains disabled until the Apple provider variables are configured.