https://github.com/zigad/charging-stations-in-slovenia
Java application that will fetch EV charging stations from Slovenian providers and add newly added stations to the local database
https://github.com/zigad/charging-stations-in-slovenia
avant2go charging-station chargingstation electric-vehicle electric-vehicle-charging-station electric-vehicles ev gremonaelektiko java petrol
Last synced: about 2 months ago
JSON representation
Java application that will fetch EV charging stations from Slovenian providers and add newly added stations to the local database
- Host: GitHub
- URL: https://github.com/zigad/charging-stations-in-slovenia
- Owner: zigad
- License: apache-2.0
- Created: 2021-09-06T06:35:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-07T08:18:26.000Z (about 2 months ago)
- Last Synced: 2025-04-12T06:06:53.294Z (about 2 months ago)
- Topics: avant2go, charging-station, chargingstation, electric-vehicle, electric-vehicle-charging-station, electric-vehicles, ev, gremonaelektiko, java, petrol
- Language: Java
- Homepage:
- Size: 20.3 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Charging Stations in Slovenia
This project collects and updates data on electric vehicle charging stations in Slovenia. It fetches data from multiple
providers, compares it with previous data, and sends an email with new chargers when changes are detected. The application
runs on **Quarkus** and stores data in **PostgreSQL**.## Features
- Fetches charging station data from multiple providers
- Compares with previous dataset
- Sends an email with new charging station for each provider
- Runs in **Quarkus** with **Docker** and **Flyway migrations**## Getting Started
### Prerequisites
- **Docker** & **Docker Compose** installed
- **Java 21** (if running locally without Docker)### Setup
#### 1️⃣ Clone the Repository
```sh
git clone https://github.com/your-repo/charging-stations.git
cd charging-stations
```#### 2️⃣ Set Up Environment Variables
Create a `.env` file from .env.example or modify `docker-compose.yml` directly.
#### 3️⃣ Build the Application
```sh
./mvnw package
```#### 3️⃣ Start the Application
```sh
docker-compose up --build
```### Database Schema & Migration
#### **Flyway Migration**
The database schema is managed by **Flyway**, and migrations are executed automatically on startup.
### API Providers
The following providers are currently supported:
- **GremoNaElektriko**
- **Petrol**
- **MoonCharge**
- **eFrend**
- **MegaTel**To be implemented if needed later:
- **Avant2Go**
- **Implera**### Running in Development Mode
You can run Quarkus in dev mode outside of Docker:
```sh
./mvnw quarkus:dev
```For any issues, feel free to submit a **GitHub Issue** or contribute via **Pull Requests**! 🚀