-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfirebase-config.js
More file actions
22 lines (19 loc) · 950 Bytes
/
firebase-config.js
File metadata and controls
22 lines (19 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// firebase-config.js
import { initializeApp } from "https://www.gstatic.com/firebasejs/12.1.0/firebase-app.js";
import { getAuth } from "https://www.gstatic.com/firebasejs/12.1.0/firebase-auth.js";
import { getDatabase } from "https://www.gstatic.com/firebasejs/12.1.0/firebase-database.js";
import { getStorage } from "https://www.gstatic.com/firebasejs/12.1.0/firebase-storage.js";
const firebaseConfig = {
apiKey: "AIzaSyDOeA9__EGK09QnHD4uifvDYx4VNZvqV84",
authDomain: "ecommerceapp-a5273.firebaseapp.com",
databaseURL: "https://ecommerceapp-a5273-default-rtdb.firebaseio.com",
projectId: "ecommerceapp-a5273",
storageBucket: "ecommerceapp-a5273.appspot.com",
messagingSenderId: "245935274455",
appId: "1:245935274455:web:81091e9f4df7e0e2c57392"
};
const app = initializeApp(firebaseConfig);
const auth = getAuth(app);
const database = getDatabase(app);
const storage = getStorage(app);
export { app, auth, database, storage };