Skip to content

ttiimmothy/ttc-refactor

Repository files navigation

TTC Refactor

ci cd pages-build-deployment

TTC Refactor is a real-time transit application that provides estimated arrival times (eta) for TTC buses and streetcars. With TTC Refactor, users can quickly and easily plan their commute and stay up-to-date with the latest arrival times. Demo

Features

You can bookmark specific estimated time of arrival for your next bus or streetcar to the home page. With this feature, you can instantly access the information you need whenever you open the app, without having to search for it again. This feature makes it easy to keep track of the ETAs for your preferred routes and stops.

Other features include:

  • Real-time arrival data for TTC buses and streetcars
  • Complete route information

Prerequisites

  • Node.js (version 12.0 or above)
  • npm (which comes with Node.js) or Yarn (version 1.22.0 or above)

Getting Started

Run the app locally

npm install
npm run dev

Usage

  • Enter the route number you are interested in into the search bar.
  • Click the "Search" button to retrieve a list of stops for that route.
  • Select the stop you are interested in from the list.
  • Add specific eta to favourite for quick access in the future

That's it! With just a few simple steps, you can quickly and easily find out when the next bus or streetcar will be arriving at your chosen stop.

Contributing

We welcome contributions from other developers! To contribute to TTC Refactor, please follow these steps:

  • Fork the repository.
  • Create a new branch for your changes.
  • Make your changes and commit them to your branch.
  • Submit a pull request to merge your changes back into the main branch.

License

TTC Refactor is licensed under GNU General Public License v3.0.

References

TTC Refactor is built using data from TTC Real-Time Next Vehicle Arrival (NVAS).

Inspiration

This project was inspired by the work of the original authors of ttc-bus-eta. While this project is not a direct continuation of their work, it would not have been possible without their initial contributions. We would like to extend our thanks to them for providing a foundation upon which we could build this project.