Where’s Parking is a GitHub Pages hosted React app. The app makes a GET request to static JSON files in Amazon S3 buckets every 10 seconds to get fresh data. The JSON files for the Buncombe County garages are updated every minute by the County's parking vendor. The JSON files on S3 for the City of Asheville garages are loaded by the Lambda parking-data-parser (custom-asheville) from the Parking Logix API. https://github.com/cityofasheville/parking-data-parser
Backend Code: https://github.com/cityofasheville/parking-data-parser
Where's Parking site: http://cityofasheville.github.io/wheres-parking/ (it's served from the gh-pages branch of this repo)
It is embedded in the City’s website here: https://www.ashevillenc.gov/service/find-real-time-parking-in-parking-garages/
You can grab the feeds from these AWS S3 buckets:
https://s3.amazonaws.com/avl-parking-decks/spaces.json (custom-asheville)
https://s3.amazonaws.com/bc-parking-decks/164College (enterprise-asheville)
https://s3.amazonaws.com/bc-parking-decks/40Coxe (enterprise-asheville)
This is deployed on Github Pages, from the main branch. The gh-pages script creates the gh-pages branch only on the Github server, you don't need a local copy. To deploy:
npm run predeply (sic)
npm run deploy