Skip to content

TU-Explorers/tu-explorer

Repository files navigation

TUW Explorer

The TUW (TU Wien) Explorer is a web application that combines indoor maps of the various TU Wien campuses with other useful data like mensa menus, personal calendar and lecture search. It consists of a frontend in form of a webpage, a backend with mongoDB and Elasticsearch databases, a routing service and an importer service.

The app is deployed here.

Run the app locally

To run the application locally, run

docker compose up

in the root folder. This exposes the following components on your local network:

  • The main frontend on localhost:80 (or just localhost)
  • The backend on localhost:8080 (in case you need to acccess its endpoints directly)
  • The routing service on localhost:8085
  • Kibana (Elasticsearch monitoring) on localhost:5601

Insert data

For the frontend to show anything useful beyond just the map itself, the data needs to be imported into the backend. You can achieve this by running the importer service for the datasource main like this:

docker run --name 24ws-ase-pr-qse-08-importer-service \
  -e BACKEND_SERVICE_HOST=backend-service \
  -e BACKEND_SERVICE_PORT=8080 \
  --network tuwien-explorer-net \
  --rm \
  24ws-ase-pr-qse-08-importer-service import -d main -i

If you need to update the events on the explore page without reimporting all data, you can just run the events import:

docker run --name 24ws-ase-pr-qse-08-importer-service \
  -e BACKEND_SERVICE_HOST=backend-service \
  -e BACKEND_SERVICE_PORT=8080 \
  --network tuwien-explorer-net \
  --rm \
  24ws-ase-pr-qse-08-importer-service import -d events -i

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •