Welcome to the Supabase React Native Starter Kit, your ultimate toolkit for building apps with speed and ease! π οΈ Built on the powerful Expo platform, this starter kit combines modern tools and technologies to help you kickstart your React Native project with Supabase. π‘
Tech Stack includes:
- βοΈ React Native
- π Expo
- π₯ Supabase
- π§ React Navigation
- βοΈ Resend
Hereβs what you get out of the box with this starter kit:
- π Authentication: Fully integrated sign-up/sign-in using Supabase.
- π€οΈ Navigation: Pre-configured and smooth navigation with React Navigation.
- π§ Email Verification: Ensure users validate their emails with Resend.
- π€ Profile: A sleek profile screen for updating and viewing user information.
Ready to dive in? Follow these steps to get started:
1οΈβ£ Clone the repository:
git clone https://github.com/Jaseyacey/react-native-supa-starter.git
2οΈβ£ Install dependencies:
yarn install
3οΈβ£ Set up Supabase:
- π Head to Supabase and create an account.
- π Create a new project and grab the URL + API keys.
- π Create a new table called
users
with the following columns:user_uuid
(UUID)user_email
(TEXT)created_at
(TIMESTAMP)
4οΈβ£ Configure Supabase:
Add these variables to a .env
file in your projectβs root:
EXPO_PUBLIC_SUPABASE_KEY=YOUR_SUPABASE_PUBLISHABLE_KEY
SUPABASE_SERVICE_ROLE_KEY=YOUR_SUPABASE_SECRET_KEY
EXPO_PUBLIC_SUPABASE_URL=YOUR_SUPABASE_SERVICE_URL
JWT_SECRET=YOUR_JWT_SECRET
5οΈβ£ Set up Resend:
- βοΈ Create an account at Resend.
- π Grab your API key and add it to the
.env
file:
EXPO_PUBLIC_RESEND_API_KEY=YOUR_RESEND_API_KEY
6οΈβ£ Run the app:
yarn start
π Boom! Your app is live!
Hereβs how to use the app:
1οΈβ£ Sign up:
- Click the
Sign Up
button. - Enter your email and password.
- Check your inbox π©, and click the verification link.
2οΈβ£ Sign in:
- Click the
Sign In
button. - Enter your email and password to log in. β
This starter kit is licensed under the MIT License. Feel free to use it however you like! π
We β€οΈ contributions! Follow these steps to get involved:
1οΈβ£ Fork the repository π΄
2οΈβ£ Create a new branch πΏ
3οΈβ£ Create an issue in the Project, then use the issue name as the πΏ name
4οΈβ£ Make your changes βοΈ
5οΈβ£ Commit your changes π¦
6οΈβ£ Push your branch π’
7οΈβ£ Open a pull request π
8οΈβ£ Wait for review and merge! π
Big shoutout to these awesome tools that make this starter kit possible:
- βοΈ React Native
- π Expo
- π₯ Supabase
- π§ React Navigation
- βοΈ Resend
Got questions or feedback? Letβs chat! π¬
π§ Email: Jason Beedle