An application to avoid accidents on your routes through the city of Münster. After submitting the route, different routes can be selected that avoid different risk areas where accidents are more likely to occur in Münster. All routes are displayed on a map, and it is possible to view additional statistics and to export the routes to Google Maps. A detailed How-To can be found after installation of the application.
This application was developed as part of the class "Geoinformation in Society" in the winterterm 2020/21 at ifgi at the University of Münster.
To get a local copy of the application and to run it, follow these simple steps.
Install npm
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/tnier01/SafeRouteToSchool.git
- Install NPM packages
npm install
-
Get your openrouteservice token at https://openrouteservice.org/dev/#/signup
-
Rename the tokens_template.js file inside the private folder to tokens.js
-
Add your key, received in step 3, at the routing spot in the tokens.js file https://github.com/tnier01/SafeRouteToSchool/blob/5866e4ee6efe6e99e56d11f3581071d5d458cbc3/private/tokens_template.js#L5
-
Start the application
npm start
- Go to the application under https://localhost:3000