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