_Hop Hounds is a program that shows location and information about bars that allow dogs. This information includes: Neighborhood Address Type of Establishment Food type Dog Restrictions Kid-friendly
The location is presented on a map with clickable custom pins which contain a link on the popup. This link will take a user to a page for the establishment that contains the above information_
-
clone https://github.com/Leels/beer_and_dogs_frontend and https://github.com/Saul-Ordonez/beer_and_dogs_api from the github repository
-
For both programs, enter in the terminal:
-
bundle install
-
rake db:create
-
rake db:migrate
-
rake db:seed
-
change directory to dogs_and_beer_api
-
rails s
-
change directory to dogs_and_beer_frontend
-
rails s -p 3001
-
open a browser and enter localhost:3001 as the URL
-
Or open in heroku with this link: xxxxxx
Title | Request URL | Method | Params | Response |
---|---|---|---|---|
Show all establishments | / or /establishments | GET |
200 OK, 404 Not Found | |
Show a establishment | GET |
/establishments/:id |
200 OK, 404 Not Found | |
Search for a establishment by name, what food they offer, type of establishment or if it's kid friendly | GET |
/establishments?query= | Optional: :name |
200 OK |
There are no known bugs at this time
{Let people know what to do if they run into any issues or have questions, ideas or concerns. Encourage them to contact you or make a contribution to the code.}
The map was generated with the Leaflet app. The majority of the app was written with ruby on rails and smaller sections of javascript. Styling elements are built on bootstrap and scss
This app is liscensed under MIT
Copyright (c) 2020 {Lela Smith, Courtney Schild, Saul Ordonez, Colman Currie, Bryon Burke}