Skip to content

Commit 0c13de2

Browse files
committed
done
1 parent 0c0cd2e commit 0c13de2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

backend/server.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ const admin = require("firebase-admin");
55
const { PDFDocument, StandardFonts } = require("pdf-lib");
66
const QRCode = require("qrcode");
77

8+
// 1. INITIALIZE SUPABASE
9+
// Use the variables directly or through process.env for security
10+
const SUPABASE_URL = "https://qczrynwhcvenmrctukww.supabase.co";
11+
const SUPABASE_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InFjenJ5bndoY3Zlbm1yY3R1a3d3Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjY4NDAxNjAsImV4cCI6MjA4MjQxNjE2MH0.CKmucukKNw1MGPv5J-A1fblHZ0Tr6-YQv_r5GMCdTnM"; // Use your full anon key here
12+
13+
const supabase = createClient(SUPABASE_URL, SUPABASE_KEY);
14+
815
// 1. INITIALIZE FIREBASE ADMIN
916
const serviceAccount = require("./serviceAccountKey.json");
1017

0 commit comments

Comments
 (0)