AI-powered music queue generation app built with React Native (Expo) and Supabase.
- Node.js 18+
- Expo CLI (
npm install -g expo-cli) - A Supabase project
- A Spotify Developer app
- Create a new Supabase project at supabase.com
- Go to Authentication > Providers > Spotify and enable it
- Enter your Spotify Client ID and Client Secret
- Set the redirect URL to:
tempr://(your app's deep link scheme)
- Go to Spotify Developer Dashboard
- Create a new app
- Add the redirect URI:
https://<your-project>.supabase.co/auth/v1/callback - Copy the Client ID and Client Secret into your Supabase Spotify provider settings
Copy .env.example to .env and fill in your values:
cp .env.example .envEXPO_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
EXPO_PUBLIC_SUPABASE_ANON_KEY=your-anon-key-here
npm install
npx expo start- Download Expo Go:
- iOS: App Store → search “Expo Go”
- Android: Google Play → search “Expo Go”
- After running npx expo start, Expo will open a dev server page with a QR code.
- Open Expo Go on your phone and scan the QR code:
- iOS: use the Camera app to scan → tap the link → opens in Expo Go
- Android: use the Scan QR Code option inside Expo Go
- The app will load on your device and hot-reload as you edit code.
- You can also press i for iOS simulator or a for Android emulator if you have them installed.
app/
_layout.tsx # Root layout with auth provider & routing
login.tsx # Spotify OAuth login screen
(tabs)/
_layout.tsx # Tab navigation layout
index.tsx # Authenticated home screen
lib/
supabase.ts # Supabase client configuration
AuthContext.tsx # React context for auth state management
- User taps "Connect with Spotify" on the login screen
- Supabase OAuth opens Spotify login in a web browser
- After authorization, Spotify redirects back to Supabase
- Supabase redirects back to the app via deep link (
tempr://) - The app extracts the session tokens and stores them
- User is automatically routed to the authenticated home screen