Git Product home page Git Product logo

elektrihind's Introduction

Elektrihind App

Overview

Elektrihind is a service dedicated to providing insights on electricity prices in Estonia. Using scheduled tasks, it fetches electricity prices at regular intervals and offers users a perspective on the most expensive and cheapest pricing hours. The service is designed to be containerized using Docker, making it easily deployable across various environments.

Features

  • Fetches electricity prices at regular intervals
  • Provides details on the most expensive and cheapest pricing hours
  • Built with Spring Boot, making it easily scalable and maintainable
  • Containerized with Docker for simplified deployment

Telegram Integration

  • Sends automated alerts and updates to a designated Telegram chat
  • Offers retries in sending messages, ensuring delivery
  • Adheres to a daily message limit to prevent spamming
  • Displays electricity prices in a user-friendly format on Telegram

Pre-requisites

  • Docker installed
  • Docker service running and enabled on startup
sudo systemctl enable docker

Building the Docker Image

To build the Docker image for the Elektrihind app:

docker build -t elektrihind-app .

Running the Application

Option 1: Running in Detached Mode

Run Elektrihind app in detached mode (in the background):

docker run -d -p 8080:8080 --restart always --name elektrihind-app-container elektrihind-app

Option 2: Running in Foreground

To view logs and messages, run Elektrihind app in the foreground:

docker run -p 8080:8080 elektrihind-app

Stopping the Application

To stop and remove the application running in detached mode:

docker stop elektrihind-app-container
docker rm elektrihind-app-container

elektrihind's People

Contributors

ktenman avatar dependabot[bot] avatar

Stargazers

Soul avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.