GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jocafi/firebase-utilities: The objective of this project is to create firebase utilities such as csv to json converters, importers for both Firebase models "Firebase Realtime Database" and "Cloud Firestore".

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
e2e
e2e
 
 
lib
lib
 
 
src
src
 
 
test
test
 
 
.env.firebase
.env.firebase
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
karma.conf.js
karma.conf.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.test.json
tsconfig.test.json
 
 
tslint.json
tslint.json
 
 

Repository files navigation

Firebase Utilities

The objective of this project is to create firebase utilities. It contains firebase services to execute CRUD operations, as well as, executing initial data load. It considers both firebase models Firebase Realtime Database and Cloud Firestore.

Getting started

  • Clone the repository
git clone https://github.com/jocafi/firebase-utilities.git <project_name>
  • Install dependencies
cd <project_name>
npm install
  • Configure your firebase in the file src/.env.firebase according to the firebase documentation. Example:
apiKey = AIzaSyAOdQ706Iz66UZkkddhihid933
authDomain = myproject.firebaseapp.com
databaseURL = https://myproject.firebaseio.com
projectId = myproject
storageBucket = myproject-test.appspot.com
messagingSenderId = 699179641112
  • Load your json file to your firebase collection. Syntax:
node lib/app.js <json_source_filename> <collection>

Importing the project as library

In order to use this project as a library in your project, you have to import it:

npm install jocafi/firebase-utilities

You can use the classes below:

  • FirebaseServices: offer methods for CRUD operations.
  • FirebaseJsonLoader: enable load a json file into a collection.

About

The objective of this project is to create firebase utilities such as csv to json converters, importers for both Firebase models "Firebase Realtime Database" and "Cloud Firestore".

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.