Skip to content

No Longer Maintained #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# ⚠ No longer maintained ⚠ check out [new APIS](https://www.lgutimetable.live/developer)

```diff
+ This repository is still worth checking if you want to scrap data on your own
```

<h1 align="center">
<br>
<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>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"firebase": "^9.18.0",
"googleapis": "^108.0.0",
"jsdom": "^20.0.1",
"mongoose": "^6.7.0"
}
}

25 changes: 25 additions & 0 deletions src/lib/firebase.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
const { initializeApp } = require ("firebase/app");
const { getFirestore } = require ('firebase/firestore');

const firebaseConfig = {
apiKey: process.env.apiKey,
authDomain: process.env.authDomain,
projectId: process.env.projectId,
storageBucket: process.env.storageBucket,
messagingSenderId: process.env.messagingSenderId,
appId: process.env.appId,
measurementId: process.env.measurementId
};

const firebaseApp = initializeApp (firebaseConfig);
const firebaseStore = getFirestore (firebaseApp);

module.exports = {
firebaseApp,
firebaseStore
};