Train schedule time tracker with database entry functionality
Application displays a list of trains and their information (name, route, frequency, next arrival time, and minutes away countdown timer) based on data stored in a Firebase Realtime Database.
MomentJS library is used to get current time and perform scheduling calculations based on a first departure time and frequency pulled from the database. Also used to format integers and time objects into displayed clock format time.
Also included is a database front-end interface form that allows the user to add a new train to the database and displayed schedule.