first commit of refactor

This commit is contained in:
KS Jannette
2026-02-27 09:58:18 -05:00
commit 0adfd70853
63 changed files with 10558 additions and 0 deletions

20
backend/firebase/admin.js Normal file
View File

@@ -0,0 +1,20 @@
import admin from 'firebase-admin';
import dotenv from 'dotenv';
dotenv.config();
if (!admin.apps.length) {
admin.initializeApp({
projectId: process.env.FIREBASE_PROJECT_ID,
// For local development, you can use application default credentials
// or provide a service account key file
});
}
export const auth = admin.auth();
export default admin;