// the find
Jaseyacey/react-native-supa-starter
A boilerplate template for building React Native apps with Supabase integration. Includes authentication, database setup, and real-time functionality to jumpstart your next mobile project.
A React Native + Expo boilerplate wiring up Supabase auth, basic navigation, and email verification via Resend. Aimed at developers who want a running starting point for a mobile app without setting up auth from scratch. Covers sign-up, sign-in, email verification, and a profile screen.
- Covers the most painful part of starting a mobile app — auth flow with email verification — so you're not writing that from scratch every project
- TypeScript throughout, with a dedicated Types directory, which is the right call for a template others will build on
- Clean separation of concerns: Hooks, Screens, Components, Config are all split out rather than dumped in one folder
- Uses Expo, so contributors and adopters don't need to deal with native build tooling to get something running immediately
- The README instructs you to store SUPABASE_SERVICE_ROLE_KEY and JWT_SECRET in .env on the client — the service role key should never be in a mobile app; it bypasses all RLS and if extracted from the bundle it gives full database access
- EXPO_PUBLIC_RESEND_API_KEY being prefixed EXPO_PUBLIC means it gets bundled into the client JS and is readable by anyone who downloads your app — email API keys should only live server-side
- Very thin feature set for 2024: no state management, no error boundary patterns, no deep link handling for the email verification redirect, and the 'real-time functionality' mentioned in the description doesn't appear in the directory tree at all
- Manual users table setup (create a 'users' table with specific columns) rather than a SQL migration file or Supabase seed script means setup is error-prone and the table will conflict with Supabase's built-in auth.users in non-obvious ways