Americans waste roughly $400 billion each year on food.
Worldwide, food waste accounts for 11% of the world's greenhouse gas emissions!
TastyTrade is a react-native, food-sharing app with a goal to help
reduce the hundreds of billions of pounds of food waste occurring globally.
- Install NPM.
- Make sure to put the .env file in ../frontend after retrieving it from a safe location
(You'll need to make a firebase project off of this repo).
Sample .env file:
# No Quotes.
EXPO_PUBLIC_API_KEY=
EXPO_PUBLIC_AUTH_DOMAIN=
EXPO_PUBLIC_PROJECT_ID=
EXPO_PUBLIC_STORAGE_BUCKET=
EXPO_PUBLIC_MESSAGING_SENDER_ID=
EXPO_PUBLIC_APP_ID=
EXPO_PUBLIC_MEASUREMENT_ID=
EXPO_PUBLIC_ANDROID_CLIENT_ID=
EXPO_PUBLIC_WEB_CLIENT_ID=
- EAS Account (You'll need to sign in inside a terminal).
- Switch to ../frontend (Using cd command) after cloning the repository.
- Install the EAS client and Expo globally.
npm install --global eas-cli
npm install --global expo- Install dependencies using NPM:
npm installUsing android emulator or physical device (AVD [Installable through Android Studio]):
eas build --profile development --platform android
npx expo start
press aEAS will build an Android APK on the cloud, which you can then download to your mobile device through the QR code. Connect your mobile device with a cable, and the app should connect to the expo server.
Otherwise, if your emulator is open, it should automatically connect to the app.