Skip to content

Repository files navigation

transit-clone

  • This is a transit program that shows you how long it takes for a specific vehicle to reach a stop
  • Returns a Stop Instance that contains the id of stop, id of agency, and the list of predictions to that particular stop.

REQUIRED:

Required .env file contents:

alt text

  • Sample:
  • agency id = SC (vta)
  • stop code = 60439
  • optional parameter: POLL_INTERVAL=15 (updates every 15 sec)

How to Run:

  • Make sure that your .env file has all required contents.
  • In your terminal, run this:
  • docker-compose -f docker-compose.dev.yml up --build
  • To close:
  • docker compose -f docker-compose.dev.yml down

Open http://localhost:8000 to view the live arrival board. The JSON data used by the page is available at http://localhost:8000/api/transit.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages