Skip to content

React web app that gets mulitple transit line's arrival time by station code

Notifications You must be signed in to change notification settings

amychan331/old-nextbus-compare-v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nextbus Compare

Description:

This React app finds up to 3 transit station and the corrosponding vechicles arrival time by the station's stop code. I think the NextBus app used to take in stop code as input, but not any more. When a station have stop code on display, it is often much quicker and more convienant to type in digit than to search for street sign.

Technology:

I decided to use React for this app, which gets its json data from the NextBus API.
As always, I have implemented basic web accessibility, mobile-friendly, and security best practices. Real-time input validation has been implemented the React way. Very fun to watch it happen.
The site is currently at http://nextbus-compare.herokuapp.com/ for anyone who wants to test it out.

Image:

Input form before data submission, with error message on display: Input Form with Error

The time chart displaying 3 different station stop, one of which does not exist: Regular Output

Error message for duplicate stop code entry: Duplicate Input Error

Error message for maxing out input submission: Maxed Input Error

About

React web app that gets mulitple transit line's arrival time by station code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published