Giter Club home page Giter Club logo

gasolineprices's Introduction

Open Gasoline | Web App

Application made to find to find the cheapest gasoline stations in italy.

Simple React.js application that allow to locate which are the most economies gasoline stations around the municipality given.

Under the Hood.

This application take advantage of the github actions and the possibility to overwrite the github repository in an autonomous way, in particular:

  1. Every two days a Github action call a bounch of Python scripts which fetch the gasoline prices directly from the italian government website, process them and dump all the updated prices and information in json, divided by municipality, inside this github repository.

  2. When using the React application basically we are providing a way to access and display properly those data inside a map, said so the react application consists of a fetch api to github repository specific to the municipality required and trough the usage of Leafleft.js a proper rendering of the data on a context map.

  3. Every five days another Github action call others scripts that update the meta-data on the gasoline stations (such as name and other properties) allowing to include new stations, in case they are.

  4. This is the map of all the gasolines stations in italy: Image


  1. municipalities.geojson has been downloaded once and is the map of the italy containing the boundaries of each municipality.

gasolineprices's People

Contributors

actions-user avatar gabrieleghisleni avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

mastadev72

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.