Giter Site home page Giter Site logo

hugohabicht01 / petrolstationapp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 900 KB

Webapp that displays real time petrol prices of petrol stations in Germany

Python 17.07% Dockerfile 0.28% HTML 0.62% Vue 25.48% JavaScript 39.36% CSS 0.49% Jupyter Notebook 16.70%

petrolstationapp's Introduction

petrolstationapp's People

Contributors

cyborgers avatar deepsource-autofix[bot] avatar deepsourcebot avatar dependabot[bot] avatar hugohabicht01 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mastadev72

petrolstationapp's Issues

Move petrol station logic to the Details component

Right now all the logic for fetching details of petrol station (and the directions renderer) are inside the PetrolStationList componenent. It would be better to move all of this inside the Details component, which is a more logical place to have it and makes it possible to set Details from other components as well

Test the GMaps API calls

So far there is a test but it is failing, since I'm working with fixed values. This shouldn't be the case. Need to mock the API call

Add proper solution to handle API keys

As of right now, the api keys needed by the backend are specified as environment variables in app.yaml. This isn't optimal as I can't commit the file in that state.
A possible solution would be using gcp secrets

Enforce consistent naming and style conventions

Right now some variables are named using camelCase, some others are using snake_case. Decide what should be used and enforce a consistent coding style. Probably take a look at the style of popular repos

Improve naming

Most variable names and especially struct names are horrible as of right now, they need improvement ( you can't just call everything PetrolStations?.*)

Custom datatype for locations

Add a custom datatype for locations and check if there will be any accuracy loss if floats are used for coords instead of strings

Feature ideas

This should be an issue just to keep track of ideas that come to my mind that could be useful, etc
If I actually start implementing a feature, it might be helpful to create a separate issue for it then

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.