Skip to content

panentheos/train-schedule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Train schedule demo

Displays real-time MBTA train data. Refreshes the data every few seconds.

Prerequisites

Setup

yarn install # install dependencies
yarn build # build the JS
yarn start # start the server

Browse to http://localhost:8080/

Potential improvements

  • Error handling: Currently the app will display a blank page if an error occurs while fetching the schedule data. Ideally it should catch the error and display a useful message.
  • Responsiveness: The table will perform basic wrapping at smaller screen sizes, but this could be fine-tuned with explicit breakpoints.
  • Accessibility: The table should have some ARIA attributes to connect the data with the associated labels.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published