Giter Club home page Giter Club logo

run's Introduction

Run? ๐Ÿšˆ ๐ŸšŒ ๐Ÿš† ๐Ÿƒ

This is going to be a simple web app to help me commute more efficiently (and maybe you, if I get round to it).

This is not a transport planning app.
(Citymapper's pretty good at that already.)

Instead, this is for someone who knows exactly where they're going, but doesn't want to miss their connection.

  1. You see all the live departures on your commuting route at a glance.
  2. You work out if you need to run or not.
  3. You proceed at your chosen pace.

Simple as that ๐Ÿ˜„

Uses Node v9

I'm keeping track of any problems or bugs encountered here

TODO

  • Add Redux
  • Swap babelify for webpack
  • Add styles
  • Upgrade to Webpack 2
  • App reverses your travelling direction when launching
  • When no internet (e.g. you're in a tunnel), app displays estimated departures based on last known data
  • Display last updated

run's People

Contributors

minaorangina avatar

Stargazers

 avatar

Watchers

 avatar  avatar

run's Issues

Can't fetch National Rail data

Despite the CRS code being correct, got this error:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Invalid crs code supplied</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>

Turned out the problem is with the Soap npm package. Versions after 0.11.4 suffer the same error. Fix is to roll back, as specified here

Display "last updated"

For each transport mode, display the time it was last updated.
Helps you know if you're looking at up-to-date information or not

'Choose direction' page

  • Page where I select Home or Away
  • Potential future enhancement: app calculates from geolocation

Polling --> websockets

  • Currently polling the server, which fetches data from TfL/National Rail REST apis
  • Want to set up websocket connection between client and server
  • Server will poll TfL/National Rail; new data will be pushed down to the client
  • Preferably hook up with Redux

ES6-ify

  • Conversion of old code can happen incrementally
  • Install es2015 babel preset

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.