Import Data Seed to Firestore
Some app packages include seed JSON files for categories, vendors, listings, products, appointments, or demo content. Importing seed data helps the app show realistic content immediately after Firebase setup.
Quick Answer
Use seed data only in your own Firebase project, review the JSON files before importing, run the import tool or package script documented by the app, verify the created collections in Firestore, then customize the data for your product. Never import demo data blindly into a production database with real users.
Apps That Commonly Include Seed Data
Seed data is common in:
- Store Locator;
- Universal Listings;
- Real Estate;
- Food Delivery / Restaurant;
- Appointments;
- Taxi or marketplace-style apps;
- app packages with category/vendor/listing collections.
Check the downloaded package for folders such as:
DataSeed/
dataSeed/
firebase/dataSeed/
scripts/seed/
1. Review the Seed Files
Open the JSON files before importing:
find . -iname "*.json" | rg "seed|categories|vendors|listings|products"
Confirm:
- collection names match the app config;
- IDs referenced by other documents exist;
- image URLs are valid;
- demo names and addresses are acceptable for your environment;
- no private or production data is included.
2. Prepare Firebase
Before import:
- create your Firebase project;
- enable Firestore;
- deploy Firestore rules and indexes if included;
- make sure you are targeting the correct Firebase project.
From a Firebase folder:
firebase login
firebase use --add