Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Back End

sriyuthsagi edited this page Aug 7, 2019 · 2 revisions

Go Docs

GoDoc provides an easy way to view documentation for ShuttleTracker and is always up to date with the latest github commits.

Shuttle Tracker Go Docs

API

API is responsible for configuring handlers for HTTP endpoints.

Shuttle Tracker API

Auth

Represents an authentication service for login.

Shuttle Tracker Auth

Config

Config is the global configuration structure.

Shuttle Tracker Config

Postgres

PostgreSQL is the database Shuttle Tracker uses to hold data on shuttles, stops, routes, etc. Shuttle Tracker has many functions that interface with postgres to add and remove objects within its database.

Shuttle Tracker Postgres

Updater

Shuttle Tracker updater retrieves information from the iTRAK data feed.

Shuttle Tracker Updater

Docs

ETA

Shuttle Tracker handles expected time of arrival by calculating the time, in minutes, that it will take a shuttle to arrive at the nearest stop to a user. It informs the user of the upcoming arrival time.

ETA Github

Updater

Updater is responsible for many aspects of the shuttle trackers front end. Updater pushes changes in vehicle location, etas, etc.

Updater

Auth

Authentication for accessing the Shuttle Tracker Admin Panel. Authentication is handled through CAS and Shuttle Tracker checks if the authentication was valid or not, similar to a captcha.

Auth