Skip to content
Find and display farmers market locations on map - DEMO: https://farmers-market-finder.netlify.com/
Branch: master
Clone or download
Latest commit 70488fa Apr 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo Add animated demo gif Sep 30, 2018
src Use https when calling api Apr 24, 2019
.gitignore Clean up files, update config/README Apr 24, 2019
Gruntfile.js Clean up files, update config/README Apr 24, 2019
LICENSE Create LICENSE Sep 30, 2018
README.md Update README.md Apr 24, 2019
package-lock.json Clean up files, update config/README Apr 24, 2019
package.json Clean up files, update config/README Apr 24, 2019

README.md

Farmers Market Finder

This project uses the Google Maps API and USDA National Farmers Market Directory API to create a mashup where visitors can search for Farmers Markets in the US by entering a zip code, then Farmers Markets near that zip code will be shown on the map. You can click on a marker or an item in the result list to view more info about the market such as address, schedule, and products.

Demo

Use the app online at https://farmers-market-finder.netlify.com/

Farmers Market Finder - Animated gif demo

Run Project Locally

Assumes local installation of Node.js

To run the project locally:

  • Clone or fork this repository.
  • Update YOUR_KEY_GOES_HERE on the following line (right above the closing body tag) in src\index.html with your Google Maps JavaScript API key:
    <script async defer src="http://maps.googleapis.com/maps/api/js?v=3?key=YOUR_KEY_GOES_HERE&callback=init" onerror="mapLoadError()"></script>
  • Run npm install
  • Run npm run build (Also run this after changes are made to code in the src directory - the production code will then be output to a dist directory.)
  • Open index.html in the dist directory in a web browser.

Technologies Used

APIs Used

License

The code in this project is licensed under the MIT License. See LICENSE for details.

Note that you will be responsible for following terms of service of the third party APIs used in the code.

You can’t perform that action at this time.