Skip to content

Flix-29/BesserTanken

Repository files navigation

BesserTanken

Get the cheapest gas prices in your area.

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.

image

How to start the application locally:

Precondition:

  1. You need to be able to run java code on your device.
  2. You need to have a working internet connection.
  3. You need an active Api-Key from Kraftstoffbilliger and Mapbox.

Steps:

  1. Clone the repository.
  2. Open the project in your favorite IDE.
  3. In the application.properties file enter your Api-Keys:
    • Either replace the value your-api-key with your corresponding Api-Keys.
    • Or create a new file in the resources directory and name it secret.properties. In this file, add the following lines:
      • secrets.kraftstoffBilliger.apikey=your-api-key,
      • secrets.map.apikey=your-api-key.
  4. Start the application using the main method in the Main class or by running mvn in the command line.
  5. By default, a browser window will open. If not, open your browser and navigate to localhost:8080.

About

BesserTanken - The best way to find the cheapest gas prices.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages