Skip to content

c2r0b/spazzamento-toscana

Repository files navigation

Spazzamento Toscana

Mobile app to view street washing service info in Tuscany.
Setup upcoming street cleaning notifications to avoid fines*.

Description

This app is designed to provide the citizens of Tuscany with information about the street washing service.

(*) You can setup notifications that remind you of upcoming street cleaning, altough checking the correct information on street signs is always recommended to make sure the information provided by the app is up to date.

Features

  • Search for the street washing service in a specific municipality
  • Receive notifications when the service is about to start in the selected municipality
  • View the days and times when the service is active in the selected municipality

Technologies

Data source

The python script run.py is used to scrape the data from the official websites of the Tuscany region. The data is then stored in json files inside the data folder.
The same script is used to upload the data to the Supabase database.

Development

You need to create a .env.py file in the root directory of the project following the example below:

SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_key
SUPABASE_EMAIL=your_supabase_email
SUPABASE_PASSWORD=your_supabase_password

This file is used to store the Supabase credentials for the python upload script.

You need to create a .env.app file in the root directory of the project following the example below, to store the Supabase URL for the Flutter app:

SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_anon_key

License

The MIT license. Please see the LICENSE file for more details.