Skip to content

developwisely/firestore-import-deprecated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firestore JSON Data Import

This is a simple JavaScript app to import basic JSON data to Firestore.

How to use

  1. npm install
  2. Edit config.js with API_KEY, AUTH_DOMAIN, and PROJECT_ID from your Firestore project.
  3. Place your data inside of data.json in a similar format.
{
    // these are collections
    "exampleCollection": [

        // these are documents
        {
            "key": "value",
            "key": "value"
        },
        {
            "key": "value",
            "key": "value"
        },
    ]
}
  1. npm run import

About

A simple JavaScript app to import basic JSON data to Firestore.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published