35 lines
594 B
Markdown
35 lines
594 B
Markdown
# Expo + Supabase Template (Mobile)
|
|
|
|
## Tech Stack
|
|
- Framework: Expo SDK 51+
|
|
- Database: Supabase (PostgreSQL)
|
|
- Auth: Supabase Auth
|
|
- Navigation: Expo Router
|
|
- Styling: NativeWind (Tailwind for RN)
|
|
- Language: TypeScript
|
|
|
|
## Project Structure
|
|
```
|
|
/app
|
|
/(tabs) # Tab navigation
|
|
/(auth) # Auth screens
|
|
_layout.tsx
|
|
/components
|
|
/lib
|
|
supabase.ts
|
|
/hooks
|
|
```
|
|
|
|
## Initial Setup
|
|
```bash
|
|
npx create-expo-app@latest --template tabs
|
|
npm install @supabase/supabase-js
|
|
npm install nativewind
|
|
```
|
|
|
|
## Environment Variables
|
|
```
|
|
EXPO_PUBLIC_SUPABASE_URL=
|
|
EXPO_PUBLIC_SUPABASE_ANON_KEY=
|
|
```
|