Skip to content
master
Switch branches/tags
Go to file
Code
This branch is 51 commits ahead, 2 commits behind coffeeAndCodeMSO:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Montana Explorer

Web interface for exploring Montana municipalities, school districts and counties - showing boundaries and statistical info. Inspired by Seattle Boundaries and Census Reporter.

Build requirements

Needs a Mapbox public token key. Using dotenv, token is stored in MAPBOX_API_TOKEN. See .env.example.

Project components:

Project structure

  • app/ - Frontend React app
    • /components/ - React components
      • App.jsx - Wrapper
      • layers.js - config file for map layers
      • DataManager.js - non-display class for managing app data w/ Turf.js
        • handles lat/long within calculation
      • LocationForm.jsx - React component for entering location of interest
        • collects address, geocodes, passes to DataManager
      • DistrictMap.jsx - React component for displaying interest point inside appropriate boundaries
    • /css/
    • /js/ - Other JS files
    • /geodata/ - Geojson boundary data
  • server/ - backend Express API app
  • scripts - Scripts for data collection/processing (e.g. converting source shapefiles to geojson)
  • source-data/ - Raw data for data processing scripts
  • data/mt-vitality-metrics.bak - Text dump of Postgres database used to feed backend API (used for xfer)

References:

Inspiration

References for setting up react development environment with webpack/Babel:

Deployment references

About

Interface for exploring community vibrancy data for Montana towns and census designated places

Resources

Releases

No releases published

Packages

No packages published