Skip to content

Emilien-Foissotte/carburoam

Repository files navigation

Carburoam 🛢️💸

Community Available Dashboard to pick and follow your nearest stations, and get oil from cheapest stations ! ⛽

Watch the video

Follow along the building of this dashboard ⚙️ here

See the deployed version of the app here 👉 carburoam.streamlit.app

Developer Track Notes

Have look under the process I followed to deploy this app under here (might be a too direct), here or on my blog

ENV management

  • GMAIL_APP_PASSWORD : app password for streamlit gmail account
  • LOAD_MODE="remote|local" : If remote, need AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  • BUCKET_NAME_STORE: Uri of the bucket where config file is stored, if using remote load mode

TODO

  • Create a profile with password to hide your stations
  • Create a validation token by email to reset password (linked to GMail for sending mail)
  • Create a profile page to edit email, name, preferred gas types, reset password
  • Create an Admin dashboard to query DB, reset password for a user if requested, download the credential file, flush verification codes expired, download sqlite DB file (no password hashs stored in here, solely preferences and mail/usernames)
  • Create a station page to manage stations, edit them, delete them.
  • Add stations from a map, with possibility to geolocate yourself. Switch color and tooltip if station followed or not
  • Create the thread for ETL, with monitoring as a background task
  • Add to kill process by admin
  • Bootstrap the Database (create gastypes if not exists)
  • Create a local and distant mode for config.yaml file, distant is on S3.