Skip to content

Commit c436438

Browse files
committed
feat: .env template for db connections
1 parent 61e1f7d commit c436438

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.env.example

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Supabase Configuration
2+
# Get these from: https://app.supabase.com/project/_/settings/api
3+
4+
# Your Supabase project URL
5+
SUPABASE_URL=https://your-project-ref.supabase.co
6+
7+
# Your Supabase anonymous/public key (safe to use in client apps)
8+
SUPABASE_ANON_KEY=your-anon-key-here
9+
10+
# Notes:
11+
# - iOS: Add these to your Xcode project (e.g., Config.swift or .xcconfig)
12+
# - Web: Create .env.local and copy these values
13+
# - Never commit the actual .env or .env.local files with real credentials

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.env
33
.env.local
44
.env*.local
5+
!.env.example
56

67
# dependencies
78
node_modules/
@@ -37,4 +38,5 @@ Thumbs.db
3738

3839
# markdown
3940
*.md
40-
!README.md
41+
!README.md
42+
!supabase/testing.md

0 commit comments

Comments
 (0)