-
Notifications
You must be signed in to change notification settings - Fork 53
Back End
GoDoc provides an easy way to view documentation for Shuttle Tracker's backend. It's always up to date with the latest commits on GitHub.
API is responsible for configuring handlers for HTTP endpoints.
Represents an authentication service for login.
The global configuration structure.
PostgreSQL is the database Shuttle Tracker uses to hold data for shuttles, stops, routes, etc. Shuttle Tracker has many functions that interface with Postgres to add and remove objects within its database.
The updater retrieves information from the iTRAK data feed as it is sent.
The spoofer, when enabled in the config, will periodically create fake updates that simulate real shuttle movement. It can be used to test Shuttle Tracker when no shuttles are running.
ETAs are created by calculating the time, in minutes, that it will take a shuttle to arrive at the nearest stop to a user. This ETA is then displayed to the user.