From 6d604ef0453b089a342a0e22e3e9bf1e96e8316c Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 12 Dec 2025 08:51:35 +0100 Subject: [PATCH] Add Expo template --- templates/expo-supabase.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 templates/expo-supabase.md diff --git a/templates/expo-supabase.md b/templates/expo-supabase.md new file mode 100644 index 0000000..fab732a --- /dev/null +++ b/templates/expo-supabase.md @@ -0,0 +1,34 @@ +# 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= +```