forked from abhshk-dev/chatApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.jsx
24 lines (20 loc) · 864 Bytes
/
main.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App.jsx";
import "./index.css";
import { initializeApp } from "firebase/app";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
const firebaseConfig = {
apiKey: "AIzaSyCQEu9oi2z_QCFeRmOKE8UEzYe2D37G1fY",
authDomain: "react-chat-app-8803c.firebaseapp.com",
databaseURL: "https://react-chat-app-8803c-default-rtdb.firebaseio.com",
projectId: "react-chat-app-8803c",
storageBucket: "react-chat-app-8803c.appspot.com",
messagingSenderId: "561080515853",
appId: "1:561080515853:web:15e54f2ee8762b77444444",
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
ReactDOM.createRoot(document.getElementById("root")).render(<App />);