Files
skills-library/templates/expo-supabase.md
2025-12-12 08:51:35 +01:00

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=
```