mirror of
https://github.com/rowyio/rowy.git
synced 2026-02-24 04:01:17 +01:00
11 lines
260 B
TypeScript
11 lines
260 B
TypeScript
// Initialize Firebase Admin
|
|
import * as admin from "firebase-admin";
|
|
|
|
admin.initializeApp();
|
|
const db = admin.firestore();
|
|
const auth = admin.auth();
|
|
|
|
db.settings({ timestampsInSnapshots: true, ignoreUndefinedProperties: true });
|
|
|
|
export { db, admin, auth };
|