Skip to content

Commit

Permalink
chore: add supabase
Browse files Browse the repository at this point in the history
  • Loading branch information
sahil-raj committed Dec 31, 2024
1 parent dd69472 commit 7c2f4b6
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 3 deletions.
137 changes: 134 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@supabase/supabase-js": "^2.47.10",
"lucide-react": "^0.469.0",
"next": "^15.1.3",
"react": "18.2.0",
Expand Down
7 changes: 7 additions & 0 deletions src/lib/supabaseClient.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// lib/supabaseClient.ts
import { createClient } from "@supabase/supabase-js";

const supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL!;
const supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_KEY!;

export const supabase = createClient(supabaseUrl, supabaseKey);

0 comments on commit 7c2f4b6

Please sign in to comment.