File tree Expand file tree Collapse file tree 3 files changed +17
-13
lines changed
react-native-supabase-group-chat
react-native-supabase-todolist/library/supabase Expand file tree Collapse file tree 3 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 1- SUPABASE_URL=
2- SUPABASE_ANON_KEY=
3- POWERSYNC_URL=
1+ # Copy this template: `cp .env.local.template .env.local`
2+ # Edit .env.local and enter your Supabase and PowerSync project details.
3+ SUPABASE_URL=https://foo.supabase.co
4+ SUPABASE_ANON_KEY=foo
5+ POWERSYNC_URL=https://foo.powersync.journeyapps.com
Original file line number Diff line number Diff line change 1- EXPO_PUBLIC_SUPABASE_URL = https://durbqntqcbthnzeyncft.supabase.co
2- EXPO_PUBLIC_SUPABASE_ANON_KEY = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImR1cmJxbnRxY2J0aG56ZXluY2Z0Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTYzOTk0MDksImV4cCI6MjAxMTk3NTQwOX0.mbYtqYHt6vX1K5p9KjjLgiCmveWkHdSUH3dgdVTHBNs
3- EXPO_PUBLIC_POWERSYNC_URL = https://652c8d6e54e498b08255ab81.powersync.journeyapps.com
4- EXPO_PUBLIC_EAS_PROJECT_ID = c08eefc9-7b5b-487e-85c7-22e14b7287c0
1+ # Replace the credentials below with you Supabase, PowerSync and Expo project details.
2+ EXPO_PUBLIC_SUPABASE_URL = https://foo.supabase.co
3+ EXPO_PUBLIC_SUPABASE_ANON_KEY = foo
4+ EXPO_PUBLIC_POWERSYNC_URL = https://foo.powersync.journeyapps.com
5+ EXPO_PUBLIC_EAS_PROJECT_ID = foo
Original file line number Diff line number Diff line change 11/**
2- * TODO! Rename to AppConfig.ts and insert secrets
2+ * Copy this template: `cp library/supabase/AppConfig.template.ts library/supabase/AppConfig.ts`
3+ * Edit library/supabase/AppConfig.ts and enter your Supabase and PowerSync project details.
34 */
45export const AppConfig = {
5- supabaseUrl : '' ,
6- supabaseAnonKey : '' ,
7- supabaseBucket : '' , // Optional, set if you want to use attachments and upload to Supabase Storage
8- powersyncUrl : ''
9- } ;
6+ supabaseUrl : 'https://foo.supabase.co ' ,
7+ supabaseAnonKey : 'foo ' ,
8+ supabaseBucket : '' , // Optional. Only required when syncing attachments and using Supabase Storage. See packages/powersync-attachments.
9+ powersyncUrl : 'https://foo.powersync.journeyapps.com '
10+ } ;
You can’t perform that action at this time.
0 commit comments