https://github.com/nowisesys/trafiklab
Display top 10 bus lines with most traffic stops in Stockholm
https://github.com/nowisesys/trafiklab
Last synced: about 1 month ago
JSON representation
Display top 10 bus lines with most traffic stops in Stockholm
- Host: GitHub
- URL: https://github.com/nowisesys/trafiklab
- Owner: nowisesys
- Created: 2023-01-15T14:44:06.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-17T14:31:21.000Z (over 2 years ago)
- Last Synced: 2025-02-16T08:27:27.869Z (3 months ago)
- Language: CSS
- Size: 866 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
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.
```bash
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.
```bash
php -S localhost:8082
```