Open app

Scalable catalog

Import campsite data without changing code

The app combines its demonstration catalog with validated rows imported from CSV.

42campgrounds configured
168demo campsite records
0imported records
168total records displayed

1. Fill the CSV template

Open data/campsites-template.csv in Excel. Add one row per campsite and keep the column headers unchanged.

2. Include trustworthy sources

Every row requires a source URL, verification date, and confidence value: official, community, or estimate.

3. Run the importer

npm run import:data -- data/your-campsites.csv

4. Restart the app

npm run dev

The imported records appear automatically alongside the existing catalog.

Import safeguards

The importer checks required columns, numeric values, confidence labels, and duplicate IDs before writing data.

  • Use unique IDs for every site.
  • Do not label estimates as official.
  • Use only photos you own or may legally display.
  • Verify closures and current reservation rules separately.
Important: The included 168 records are interface demonstration data. They are not a verified commercial campsite database.