This Project is a dashboard meant for the visualization of bicycle-based commuting infrastructure. It has the goal of giving cyclists an overview of the bikeability of their commute by using a variety of open data-sources. It is developed in the context of the Project Intelligent Pendeln.
This is a Next.js project bootstrapped with create-next-app.
(As of October 2024) this project depends on a backend system to fetch, process, and deliver the bicycle-infrastructure data from OpenStreetMap: (OSMBicycleInfrastructure)[https://github.com/niebl/OSMBicycleInfrastructure] and another backend system for processing bike routes and sensor data from the OpenSenseMap: (IP-OSeM-Backend)[https://github.com/Rajasirpi/IP-OSeM-Backend]
To ensure proper functionality, pull the submodules after cloning the repository
git submodule update --init --recursiveIf you wish to pull new changes that have been made on the remote repository of the submodules, run the following:
git submodule update --recursive --remoteFor more info on submodules, consult git-scm.com/book/en/v2/Git-Tools-Submodules
as the backend components of this application have been containerized, run the following command to create the needed docker images
npm run prepThis will need to be executed with every new change to the backend submodules
to run the development server, the following command starts the backend docker containers, as well as the react development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
http://localhost:3000/muenster and http://localhost:3000/osnabrueck will show the dashboards for each city.
pages are defined under /src/app/{pagename}/page.js. there, for instance the pages for münster and osnabrück can be found respectively.
TO DO