Baruch CIS 5800
CIS 5800 - Information Technology Development and Project Management
Website that allows users to view upcoming stops and alerts for their current trip, displaying information visually or translated.
Installation
1️⃣ Request API Tokens
- Request a bus token at https://bt.mta.info/wiki/Developers/Index.
- Request a subway token at https://api.mta.info/#/signup.
2️⃣ Prerequisites
- Download Java 8.
3️⃣ Download Required Resources
- Download
all.zip
from the latest release. - Extract the zip contents into a folder.
4️⃣ Setup the Program
Write the bus token to a file named
bus-token.txt
in the same directory.Write the subway token to a file named
subway-token.txt
in the same directory.Your folder should look like this:
Run the jar file from either:
- The command line using
java -jar mta-information-site.jar
- The batch file
run.bat
(Windows) - The shell file
run.sh
(Bash)
Do not click the jar file itself, this will run the application in the background and will require using the task manager to close it.
- The command line using
Open your browser to
localhost:8080
see the live site.
💼 License
This project is released under the GNU General Public License (GPL) v2.0.
This project is for educational purposes only.
Names, logos, subway symbols are owned by the MTA "Metropolitan Transit Authority" and are covered under "fair use".
Copyright Disclaimer under section 107 of the Copyright Act of 1976; Allowance is made for "Fair Use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research.
Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use.