codechef internal hackathon, may 2023
- Push location data to Firebase Realtime Database using android app
- Retreive information from Firebase Realtime Database
- Display map updates dynamically using Flask
- Show time until arrival of bus at a location specified via menu
- clone repo
- generate firebase database private key (
https://console.firebase.google.com/u/project/<PROJECT_NAME>/settings/serviceaccounts/adminsdk
) - place private key .json file in the same directory as repo
- create virtual env (optional, recommended):
py -3 -m venv env
and run it:env\scripts\activate
- run flask app with
python tracker.py
- navigate to server (default:
http://127.0.0.1:5000
) in your web browser