Connect Supabase to your Goodspeed app
Postgres database, authentication, realtime, and storage. The backend layer every generated app runs on. Goodspeed wires Supabase into every app that needs it at generation time, so you start with a working integration, not a blank config and a documentation tab.
WHAT GETS WIRED IN
Built into every Supabase build
Every app Goodspeed generates with Supabase includes these wired integrations from the first build. No manual setup required.
| Item | Description | Strength |
|---|---|---|
| createClient() initialized with PKCE auth flow and platform-split token storage (SecureStore on native, localStorage on web) | createClient() initialized with PKCE auth flow and platform-split token storage (SecureStore on native, localStorage on web) | 01 |
| Auth providers wired: email/password, magic link, Apple Sign-In, Google OAuth, Twitter, LinkedIn, and Microsoft | Auth providers wired: email/password, magic link, Apple Sign-In, Google OAuth, Twitter, LinkedIn, and Microsoft | 02 |
| push_tokens table upserted on notification registration so every device token is persisted per user | push_tokens table upserted on notification registration so every device token is persisted per user | 03 |
| Row-level security policies enforced per tenant on all generated user data tables | Row-level security policies enforced per tenant on all generated user data tables | 04 |
| Supabase Edge Functions deployed for job-worker, send-push, send-email, webhook-receiver, and data-export | Supabase Edge Functions deployed for job-worker, send-push, send-email, webhook-receiver, and data-export | 05 |
| Real-time subscriptions via useChannelSubscription hook for live feeds, chat, and leaderboards | Real-time subscriptions via useChannelSubscription hook for live feeds, chat, and leaderboards | 06 |
Source: gas-template repository · database/auth/storage
REAL GENERATED CODE
A snippet from a Supabase integration the pipeline ships
This pattern comes directly from the gas-template codebase. The studio generates Supabase integration code like this for every app that includes it, not a placeholder you have to fill in yourself.
PKCE client init
// lib/supabase.ts const supabaseUrl = gasConfig.backend.supabase.url; const supabaseAnonKey = gasConfig.backend.supabase.anonKey; export const supabase = createClient(supabaseUrl, supabaseAnonKey, { auth: { storage: Platform.OS === 'web' ? WebStorageAdapter : ExpoSecureStoreAdapter, autoRefreshToken: true, persistSession: true, flowType: 'pkce', }, });
Today's log
APPS THAT USE SUPABASE
Where this integration ships
These app types include Supabase as part of the generated stack. Each link goes to a full spec page with capabilities, scored ideas, and a pipeline walkthrough.
- Build a Social App appBuilding a social app from scratch means solving hard infrastructure problems: real-time feeds, fan-out writes, notification delivery, and content moderation hooks. Goodspeed generates a complete sociSOCIAL APP
- Build a Marketplace App appMarketplace apps require buyer and seller flows, search with filters, secure checkout, and the kind of review system that builds trust over time. Goodspeed generates all four, wired together on SupabaMARKETPLACE APP
- Build a Fitness Tracker appBuilding a fitness tracker means wiring together daily logging, progress charts, Apple Health, and push reminders. Goodspeed generates all of that in a single build, not a patchwork of tutorials. The FITNESS TRACKER APP