mirror of
https://github.com/stronk-dev/RandomChad.git
synced 2025-07-05 10:35:08 +02:00
14 lines
259 B
JavaScript
14 lines
259 B
JavaScript
// Dependencies
|
|
const admin = require('firebase-admin')
|
|
|
|
// Admin api
|
|
const app = admin.initializeApp()
|
|
const db = app.firestore()
|
|
const { FieldValue, FieldPath } = admin.firestore
|
|
|
|
module.exports = {
|
|
db: db,
|
|
FieldValue: FieldValue,
|
|
FieldPath: FieldPath
|
|
}
|