Giter Site home page Giter Site logo

yihuicai / gas_finder_fsnd Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 195 KB

A Udacity Full Stack Web Developer Nanodegree Project

Home Page: https://d3dek89duzor21.cloudfront.net/

CSS 13.10% HTML 23.00% JavaScript 63.90%
javascript knockoutjs jquery jquery-ajax cors-request

gas_finder_fsnd's Introduction

Local Gas Station Map

New Feature (2017.12.31): Added URL to direct to gas stations in Gas Station Markers.

New Feature (2017.10.27): GPS locating added! You can instantly see your local gas stations once you open the website.

New Feature (2017.10.27): "Save Place" implemented! You can add new places of your own now. Besides, It utilizes real-time database so that you can also see what other people have added to the map!

New Feature (2017.07.29): Scroll bar added to prevent overflow. Modified the navigation bar. Add place filter to default display.

Summary:

  • This is a simple front end web application that uses Google Maps API and Yelp Fusion API to retreive gas stations around a certain neighborhood. It has some default locations set by me. You can add your own locations and search automatically the gas stations around. ๐Ÿ˜Š
  • The main.js uses JQuery and Knockout.JS to call functions, bind data and run AJAX requests.
  • See demo here.

Demo


For Developers:

  • Clone and pull this repository to your own computer.
  • Just simply open the index.html. Be sure to have access to internet.
  • Click the mark on the map to see 3 nearest gas stations found by Yelp. They are marked by green color and the detailed information is shown below the map.
  • Note that sometimes not all the gas stations are shown in the map just because Yelp doesn't have Latitude and Longitude info for all the entries.
  • You can add places and let them be shown in the map.

To be completed: ๐Ÿ˜จ

  • About Author: To render an interactive block to tell users about the author.
  • Save Places: To save added places to firebase so that even after closing the browser, the newly added places can be restored.

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.