Giter VIP home page Giter VIP logo

presto's Introduction

Presto

Build Status

Presto is a simple vegan & vegetarian recipe search engine created using React. It is powered by the free Edamam Recipe API.

I made this web app to get experience in using React technology. I spent a lot of time reading and learning about the best practices to follow, so I hope I did well!

I used react-autosuggest to create a typeahead suggestion box for recipe ideas. This recipe data comes from suggestions.json. You can get suggestions by searching with either recipe name, cuisine, or category (dip, dessert, breakfast, etc.).

Additionally, I added a feature where the user can see the ingredients for a specific recipe and check off the ones they have. Then, the app will try to find substitutes (with the data it has) for the unchecked items. It does this by removing the "stop words" (stopwords.json) and punctuation from each ingredient and comparing it with the ingredients in the substitutions data. Of course, this method has its defects. The ingredients data for a recipe can have extra information like specific brands (ex. "1 cup King Arthur flour") or preparation techniques (ex. "1 clove garlic finely minced"). I tried my best to add as many stop words to stopwords.json as I could to avoid missing substitutes.

The Edamam API also returns health details for each recipe, so I used react-chartjs-2 to create a chart to depict that information.

License

MIT

presto's People

Contributors

dependabot[bot] avatar kashiish avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

lex847

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.