File tree Expand file tree Collapse file tree 3 files changed +32
-1
lines changed
Expand file tree Collapse file tree 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+
17<h1 align =" center " >
28 <br >
39 <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 1414 "cors" : " ^2.8.5" ,
1515 "dotenv" : " ^16.0.3" ,
1616 "express" : " ^4.18.2" ,
17+ "firebase" : " ^9.18.0" ,
1718 "googleapis" : " ^108.0.0" ,
1819 "jsdom" : " ^20.0.1" ,
1920 "mongoose" : " ^6.7.0"
2021 }
2122}
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