Code Monkey home page Code Monkey logo

mta-delay-information's Introduction

Train Time Display System

Overview

This project is a train time display system designed to provide users with up-to-date information on train schedules. It utilizes a client-server architecture to fetch and display train times, leveraging a database for schedule storage and real-time updates.

Features

  • Real-time train schedule display in a Swing GUI
  • Database-backed storage for train line and station details
  • Client-Server multithreaded architecture
  • Utilizes MTA's GTFS API for transit data queries from the server
  • Configuration options for customization

Getting Started

Prerequisites

  • Java JDK 8 or newer.
  • Access to a SQL database.

Installation

  1. Clone the repository to your local machine.
  2. Configure /resources/config.properties to reflect your setup on your machine
  3. Ensure the database schema is set up as expected by the application using the /resources/sql/ folder

Running the Application

  1. Start the server:
    java StartServer.java
  2. In a separate terminal, start the client:
    java StartClient.java

Architecture

  • Server: Handles data processing, database operations, and client requests. Multi-threaded to allow for multiple Client connections.
  • Client: Displays the train times to the user and interacts with the server for real-time updates.

mta-delay-information's People

Contributors

maxgrove42 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.