Table of Contents
- About the Project
- Built With
- Getting Started
- Prerequisites
- Installation
- Usage
- Features
- Application Images
- Contributions
Waste No More is an application dedicated to help people reduce food waste at home by tracking food items, expiration dates, and help locate the nearest donation centers for food close to expiring. Resources are provided to educate users on food waste management, food storage and how to donate food. This project was created for the 2203 Backend Program Module 3 Consultancy Project.
Partner Repo: https://github.com/LukeSwenson06/waste_no_more-be.git Heroku App: https://waste-no-more-fe.herokuapp.com/
- Get your API key from these websites
- recipe_api_key: https://spoonacular.com/food-api
- resource_api_key: https://developer.nytimes.com/
- foodbank_app_key: https://www.charitynavigator.org/index.cfm?bay=content.view&cpid=1397
- article_api_key: https://developer.nytimes.com/
Oauth credentials
- Google Oauth: https://console.cloud.google.com/
- Twitter Oauth: https://developer.twitter.com/en/docs/twitter-api
-
Clone the repo
git clone git@github.com:LukeSwenson06/waste-no-more-fe.git
-
Move into the file
cd waste-no-more-fe
-
Install Gems
bundle install
-
Run
Bundle Exec Figaro Install
to generateapplication.yml
file -
In
application.yml
file, add api keys
recipe_api_key: YOUR_API_KEY
resource_api_key: YOUR_API_KEY
foodbank_app_key: YOUR_API_KEY
foodbank_app_id: YOUR_APP_ID
article_api_key: YOUR_API_KEY
GOOGLE_CLIENT_ID: YOUR_CLIENT_ID
GOOGLE_CLIENT_SECRET: YOUR_CLIENT_SECRET
TWITTER_API_KEY: YOUR_API_KEY
TWITTER_API_KEY_SECRET: YOUR_API_KEY_SECRET
-
Run
rails s
in terminal and go tolocalhost:5000
on your browser -
Happy Hunting!
- Users can manually input food items from their kitchen onto the app using the Add Item button.
- Users will be able to see all foods in their kitchen including foods that are 2 days from expiring and that have been expired. There will be a button to delete food that is no longer in their kitchen or delete all expired items
- Users will have access to a foodbank search, where they can input their city and find the closest foodbank.
- There is a resources page that has the latest articles on foodbanks, a donation button to donate to foodbanks, and a link to https://foodbanknews.org/ a website dedicated to bring the latest news stories on foodbanks across America
- Recipe recommendations will show on the Users Homepage tailored to what items are in their fridge. Recipes will show basic information with links to recipe show pages.
- Show pages displays information about that specific recipe with a link going to the source url.
- Add Groceries to your list that you want to buy in the future.
- Search for recipes by name or by ingredients that are not in your fridge.
🔥@amsalmeron Github:https://github.com/amsalmeron LinkedIn: https://linkedin.com/in/antonio-salmeron
🚀@caden-jarrett Github: https://github.com/caden-jarrett LinkedIn: https://www.linkedin.com/in/caden-jarrett-0655051b6/
🪂@DrewProebstel Github: https://github.com/DrewPoebstel LinkedIn: https://www.linkedin.com/in/drew-proebstel/
🎊@LukeSwenson06 Github: https://github.com/LukeSwenson06 Linkedin: https://www.linkedin.com/in/luke-swenson
✨@ross-ian28 Github:https://github.com/ross-ian28 Linkedin: https://www.linkedin.com/in/ross-ian28/
🎉@tjhaines-cap Github:https://github.com/tjhaines-cap LinkedIn: https://www.linkedin.com/in/thomas-haines-9b93451a0/