This app uses the data from the Kraftstoffbilliger-Api to get the cheapest gas prices. To convert the german postal code and places to coordinates the app uses the OpenDataSoft-Api. The results can be viewed on a map using the Mapbox-Map.
- You need to be able to run java code on your device.
- You need to have a working internet connection.
- You need an active Api-Key from Kraftstoffbilliger and Mapbox.
- Clone the repository.
- Open the project in your favorite IDE.
- In the
application.propertiesfile enter your Api-Keys:- Either replace the value
your-api-keywith your corresponding Api-Keys. - Or create a new file in the
resourcesdirectory and name itsecret.properties. In this file, add the following lines:secrets.kraftstoffBilliger.apikey=your-api-key,secrets.map.apikey=your-api-key.
- Either replace the value
- Start the application using the
main methodin theMainclass or by runningmvnin the command line. - By default, a browser window will open. If not, open your browser and navigate to
localhost:8080.
