-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase-config.example.js
More file actions
25 lines (22 loc) · 1002 Bytes
/
Copy pathfirebase-config.example.js
File metadata and controls
25 lines (22 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// firebase-config.example.js — Home Dashboard
//
// SETUP:
// 1. Skopiuj ten plik jako `firebase-config.js`
// 2. Wpisz wartości z Firebase Console → Project Settings → Web app config
// 3. Plik `firebase-config.js` jest w .gitignore — nie wycieknie na publiczne repo
//
// Klucze Firebase Web API są publiczne z definicji — bezpieczeństwo trzymają
// Firestore Rules + Authentication (zob. SETUP.md krok 3b).
export const firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "your-project.firebaseapp.com",
projectId: "your-project-id",
storageBucket: "your-project.firebasestorage.app",
messagingSenderId: "YOUR_MESSAGING_SENDER_ID",
appId: "YOUR_APP_ID"
};
// VAPID key dla push notifications (Firebase Console → Cloud Messaging → Web Push certificates)
// Opcjonalne — jeśli nie używasz push, zostaw pusty string
export const VAPID_KEY = "YOUR_VAPID_KEY";
// Wersja Firebase SDK (CDN) — zmień gdy chcesz upgrade
export const FIREBASE_VERSION = "10.12.0";