Coder Social home page Coder Social logo

bootcampprojectoneteamfour / food-finder Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 1.76 MB

Great food is just around the corner. Let us help you find it.

Home Page: https://bootcampProjectOneTeamFour.github.io/food-finder

License: MIT License

HTML 42.21% JavaScript 57.06% CSS 0.73%
html tailwindcss javascript api google-maps-api openrouteservice yelp-api

food-finder's Introduction

Food Finder

Many people often take where they live for granted, even in urban locales surrounded by stores and restaurants and can end up missing out on some nearby neighbourhood gems. Or perhaps they just don't want to get in a car, or Uber, to dine out at one of the better known restaurants. The purpose of our product is to provide the user with options for great restaurants within a convenient walking distance from their home; just around the corner.

An Introduction to Food Finder

Built With

  • HTML
  • Tailwind CSS
  • Javascript
  • Yelp Fusion API
  • Google Geocoding API
  • Google Directions API

Design and Functionality

The main design uses a combination of HTML, CSS and Javascript.

1/ The user inputs their postal code into the search field and then clicks on the "Food" button.

screenshot of homepage with postal code input field

2/ The button click calls the function that pulls information from the Yelp Fusion API display the top 10 rated restaurants in the user's area.

screenshot of homepage displaying search results

3/ When the user clicks on the restaurant button, that click calls the function that pulls information from a combination of the Open Route API, and Google Maps to display walking directions to that restaurant.

screenshot of directions page for site

4/ At the same time, the button click saves the user's search history into local storage so that when the user returns to the restaurant directory, the user's search history will be displayed.

screenshot of homepage showing previous searches retrieved from local storage

Deployment

This site has been published via Github Pages The repository has been stored on Github

Installation

The first time you run Food Finder, you will get a console 403 error.

  • Click on the "https://cors-anywhere.herokuapp.com/" link and allow temporary access.
  • Return back to Food Finder and refresh the page.
  • You should have no longer have any issues finding great food!

License

An MIT License has been included with this project.

Credits and external Resources

Future Developments

  • When the user searches by postal code, they are shown a map of the top 10 best rated restaurants in that area
  • When a user clicks on the pin for that restaurant, they are shown a badge. If the user clicks on that badge, they are directed towards the restaurant’s website.

Project Contributors

food-finder's People

Contributors

bootcampprojectoneteamfour avatar feventsegai avatar ianaack avatar lnd4812 avatar lndavid avatar mdubb23 avatar xdatalinq avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

food-finder's Issues

update homepage.js

Update homepage.js and remove any element that is connected to "new".js

Update README.md

Update the README file with the following:

  • description
  • technologies used
  • screenshot
  • and link to deployed application

update new.js file

following our discussion last night, work on building out the second JavaScript page with the necessary elements

add <script> tag

work with Tommy to add a <script> tag for his js filename under the existing <script src="homepage.js">

merge to Main

merge all completed work from the develop branch to the main branch

Clean Up Styling Elements

Just have a look through all documents for class elements, with each other, and polish up the styling.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.