Skip to content

This is a simple, example Sinatra app that connects to the USDA's API for farmers markets. It is meant to be well-organized, well-tested and anything else a good Sinatra app should be. It's under the MIT license, so students or instructors can take it and adapt it as they wish.

License

chrisvfritz/farmers_markets

Repository files navigation

Farmers Markets App

Build Status Code Climate Test Coverage Dependency Status Heroku App

This is a simple, example Sinatra app that connects to the USDA's API for farmers markets. It is meant to be well-organized, well-tested and anything else a good Sinatra app should be. It's under the MIT license, so students or instructors can take it and adapt it as they wish.

Run locally

git clone https://github.com/chrisvfritz/farmers_markets.git
cd farmers_markets
# If you don't have Ruby 2.2.0 installed
rbenv install 2.2.0 # for rbenv
# OR
rvm install ruby-2.2.0 # for rvm
bundle install
rackup

Deploy to Heroku

Deploy

OR, if you already have the app running locally, you can run this in the app's directory:

heroku create name-of-my-farmers-markets-app
git push heroku master

About

This is a simple, example Sinatra app that connects to the USDA's API for farmers markets. It is meant to be well-organized, well-tested and anything else a good Sinatra app should be. It's under the MIT license, so students or instructors can take it and adapt it as they wish.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published