nowisesys / trafiklab

Display top 10 bus lines with most traffic stops in Stockholm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trafiklab

Display top 10 bus lines having largest number of route stops in Stockholm local area traffic.

Backend

Developed using Apache Netbeans 16 and tested with OpenJDK 17.

Libraries

Requires the org.json library that can be downloaded from https://mvnrepository.com/artifact/org.json/json/20220924.

Building

ant -f backend -Dnb.internal.action.name=rebuild clean jar

Running

Run server from within the trafiklab/backend directory. Server listens on localhost port 8081 by default, pass custom address/port arguments if required.

java -jar dist/backend.jar 
java -jar dist/backend.jar 192.168.68.53 9090

Frontend

Serve application from within the trafiklab/frontend/public_html directory. For example using PHP's builtin server.

php -S localhost:8082

About

Display top 10 bus lines with most traffic stops in Stockholm


Languages

Language:CSS 59.9%Language:Java 28.5%Language:JavaScript 6.2%Language:HTML 4.8%Language:Shell 0.7%