Crumbster is a household food waste tracking system that aims to let families better plan the food that will buy.
Note: To be updated.
- Mobile App
- Node.js
- NPM
- Server
- Python3
- Flask
- Flask_RESTful
- firebase_admin
- APScheduler
- Obtaining the Service Account Key
- In the Firebase Project's console, open Settings > Service Accounts
- Click Generate New Private Key, and Generate Key
- Store the obtained key, copy the path to it and replace PATH-TO-SERVICE-ACCOUNT-KEY in notifs.py
- Copy one's token (obtained from running the app) and replace REGISTRATION-TOKEN in notifs.py
- Check the IP address of the device (i.e. the one that will host the server)
- In the root directory, enter the following on the terminal:
set FLASK_APP=CrumbsterAPI
flask --app CrumbsterAPI run --host=[IP_ADDRESS]
Note: To be updated.