This app shows current availability for certain products at Apple stores in the United States. A live environment for this app can be accessed at https://fruitinventory.herokuapp.com/
- Download the project zip file and unpack it.
- Using a command line tool, from inside the project directory run
npm install
to load this project's dependencies. - Run
npm start
to start the web server. - Navigate your browser to http://localhost:3000/
- Type in a store name (e.g. "Downtown Brooklyn") and select the store.
- Select a product category to view current availability of products. The five closest Apple stores are also shown for easy navigation.
If the Google Maps view does not load completely for you, edit Line 18 of ./src/index.js
to include a valid key from https://cloud.google.com/maps-platform/ and enable the Maps Javascript API.
Visit https://cors-anywhere.herokuapp.com and click the button to request temporary access to the CORS Anywhere service.
An older stable version of this app running Express with Pug templating is in the legacy-express
directory.