Git Product home page Git Product logo

route-planner's Introduction

Route Planner using Google Maps, built with React JS, Redux and Immutable.js

Route Planner is a simple app that helps you to plan your travel routes.

  • Add upto 8 way points between start and end destinations of your route.
  • See distance and time details for each way points and whole route.

How to run locally?

  1. Clone and cd into the repo.
  2. Run npm install to download dependencies.
  3. Run npm start to start the development server.
  4. Open your browser and point to http://localhost:8080/

The application has a web pack dev server, so as you make your changes in your code, the changes will be immeditely reflected in your browser.

Screenshot

Route Planner

route-planner's People

Contributors

guitarbeard avatar vraa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

route-planner's Issues

Running grunt gives errors and never builds

I did npm install then ran grunt but I can't get it to build. I haven't modified the code at all, I only forked it. Not sure what I'm doing wrong. Great little app by the way!
screen shot 2015-11-20 at 6 48 23 pm

Improvements

Hey, here's a list of improvements I would suggest:

  • Change wayPoints.map to wayPoints.each. You don't use the purpose of map at all, you are just looping through it really (Dashboard.js).
  • Create a generic function for the list items in your Dashboard component that you can re-use.
    Something like:
function(property, value) {
    return (<li className={property}>
      <p className='value'>{value}</p>
      <p className='unit'>{property}</p>
    </li>)
  },
  • Rename event handlers
    Rename the event handlers (not the name, the function name of the listener) from 'on' (like onClick, onBlur) to 'handle' (handleClick, handleBlur). If you check the react website you see in the examples that this is naming convention is used by default

When I have more time I will look through it more.
Regards, Patrick

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.