File tree 3 files changed +32
-1
lines changed
3 files changed +32
-1
lines changed Original file line number Diff line number Diff line change
1
+ # ⚠ No longer maintained ⚠ check out [ new APIS] ( https://www.lgutimetable.live/developer )
2
+
3
+ ``` diff
4
+ + This repository is still worth checking if you want to scrap data on your own
5
+ ```
6
+
1
7
<h1 align =" center " >
2
8
<br >
3
9
<a href =" https://timetable.lgu.edu.pk " ><img src =" https://user-images.githubusercontent.com/41378765/200201356-6ebba91a-dec8-4314-93ff-3b7268c4274c.png " alt =" Lahore Garrison University " width =" 500 " ></a >
Original file line number Diff line number Diff line change 14
14
"cors" : " ^2.8.5" ,
15
15
"dotenv" : " ^16.0.3" ,
16
16
"express" : " ^4.18.2" ,
17
+ "firebase" : " ^9.18.0" ,
17
18
"googleapis" : " ^108.0.0" ,
18
19
"jsdom" : " ^20.0.1" ,
19
20
"mongoose" : " ^6.7.0"
20
21
}
21
22
}
22
-
Original file line number Diff line number Diff line change
1
+ const { initializeApp } = require ( "firebase/app" ) ;
2
+ const { getFirestore } = require ( 'firebase/firestore' ) ;
3
+
4
+ const firebaseConfig = {
5
+ apiKey : process . env . apiKey ,
6
+ authDomain : process . env . authDomain ,
7
+ projectId : process . env . projectId ,
8
+ storageBucket : process . env . storageBucket ,
9
+ messagingSenderId : process . env . messagingSenderId ,
10
+ appId : process . env . appId ,
11
+ measurementId : process . env . measurementId
12
+ } ;
13
+
14
+ const firebaseApp = initializeApp ( firebaseConfig ) ;
15
+ const firebaseStore = getFirestore ( firebaseApp ) ;
16
+
17
+ module . exports = {
18
+ firebaseApp,
19
+ firebaseStore
20
+ } ;
21
+
22
+
23
+
24
+
25
+
You can’t perform that action at this time.
0 commit comments