FOODMAX - WASTEMIN: Food loss/waste prevention and Donation Platform
https://foodmaxwastemin.wordpress.com/
- Git
- node.js and npm
- Android Studio and Android SDK
- Clone this repository to your local computer
git clone https://github.com/CankayaUniversity/ceng-407-408-2023-2024-FOODMAX-WASTEMIN-Food-loss-waste-prevention-and-Donation-Platform.git
- Navigate into the project directory.
cd ceng-407-408-2023-2024-FOODMAX-WASTEMIN-Food-loss-waste-prevention-and-Donation-Platform
- Install all the necessary dependencies using npm.
npm install
- To run the app run this command and then when it is started press 'a' for run the android emulator
npm start
- Copy the .env.default file in your local environment and rename it to .env. Then, replace the API keys within this file with your own keys.
Follow these steps to get your Flask server up and running on your local machine.
- Python 3.x
- pip (Python package installer)
- Change directory to flask server and install the dependencies
cd flask-server
- Create and Activate Virtual Environment (macOS/Linux)
python3 -m venv venv
source venv/bin/activate
- Install Dependencies
pip3 install -r requirements.txt
- Run the Server
python3 server.py
Do this if necessary
- List your emulator devices
adb devices
- Change emulators port to 5000
adb -s emulator-5554 reverse tcp:5000 tcp:5000
![](https://private-user-images.githubusercontent.com/62833425/338513863-dbec76a5-0a62-4069-aa40-502724df00ba.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMzY0MjcsIm5iZiI6MTcyNDAzNjEyNywicGF0aCI6Ii82MjgzMzQyNS8zMzg1MTM4NjMtZGJlYzc2YTUtMGE2Mi00MDY5LWFhNDAtNTAyNzI0ZGYwMGJhLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxOVQwMjU1MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iZjVjMTRjNWY2NjA5NGI4OTdlNDAzMTIwZGNkMjUyZGJlMDRiNWUwMjM2YzBjNTZmMzI5ZDUyMGNmNzdmNjI2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.2XJ24PnqZDHXsnJiQEx0DQQFmynn8rbSakBdtk4ZnMY)
![](https://private-user-images.githubusercontent.com/62833425/338513869-82bc93b1-2843-44c8-adf7-0eb8b1568c96.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMzY0MjcsIm5iZiI6MTcyNDAzNjEyNywicGF0aCI6Ii82MjgzMzQyNS8zMzg1MTM4NjktODJiYzkzYjEtMjg0My00NGM4LWFkZjctMGViOGIxNTY4Yzk2LmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxOVQwMjU1MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03MTNlYjhkN2E0Y2Q3YjhkNjEzYTMxMWQyZjMwMWFiZTRhMmYyNjlhYTVjNjEzNTM0MzA5YmVjM2U0Yjc4YjRiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.EkY8Oo7rrUX9OQoxt90eDDFROuPzTJDG7lRrfKATSpI)
![](https://private-user-images.githubusercontent.com/62833425/338513855-bb3ba8b1-9611-48d2-b980-52a368f321d3.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMzY0MjcsIm5iZiI6MTcyNDAzNjEyNywicGF0aCI6Ii82MjgzMzQyNS8zMzg1MTM4NTUtYmIzYmE4YjEtOTYxMS00OGQyLWI5ODAtNTJhMzY4ZjMyMWQzLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxOVQwMjU1MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02NDliNWE5MWMzMjZjZTllYjRiYTU4MzgwNjc2YzZhYjgxMjAzZWRmMzhjMzZkYTg3MTRmNzg1ODkzM2YxZjAzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.VDrMDgfHrD7m5RNtx57DmsHKVmEXxGWnYeL5hWP-IIA)
![](https://private-user-images.githubusercontent.com/62833425/338513845-81481b57-b32d-4ce1-b520-743cbb18a807.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMzY0MjcsIm5iZiI6MTcyNDAzNjEyNywicGF0aCI6Ii82MjgzMzQyNS8zMzg1MTM4NDUtODE0ODFiNTctYjMyZC00Y2UxLWI1MjAtNzQzY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