Giter Site home page Giter Site logo

unkn-wn / recipeapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tevinwang/recipeapp

0.0 0.0 0.0 116.14 MB

See all available recipes in a single supermarket, preventing you from wasting easily avoided time, effort, and energy! - HTNE 2020

JavaScript 0.87% Java 68.17% Kotlin 0.02% Makefile 23.36% Ruby 0.62% Swift 0.08% Objective-C 0.01% Dart 6.87%

recipeapp's Introduction

recipeapp

See all available recipes in a single supermarket, preventing you from wasting easily avoided time, effort, and energy!

NodeJS WebScraper

In order to create a database of recipes that relate to the inventory of each store, our nodejs program involves the use of web scraping and automation with puppeteer, and the use of a food recipe api, called spoonacular, and a cloud firestore database.

Puppeteer, a chromium automation plugin for NodeJS, first accesses the Safeway page, clicks all the load more buttons, and uses CSS selector to get the titles of the products.

We then insert the titles of these products into a findRecipeByProduct query with the Spoonacular API, Our implementation of this step is currently not perfect because of the fact that some branded product titles are not detected as ingredients. In the future we will use AI in order to find generic product names, given branded product titles.

Finally we insert the result of this query, along with other information about the store into the Cloud Firebase database, in the stores collection.

Flutter-based app

Users first create an account and logs into the app. With flutter’s efficent and easy integration with Firebase, we are able to easily implement Firebase features. We use firebase authentication to ensure that our user’s accounts and passwords are encrypted when they enter our server. This will also allow us to implement email/phone verification for accounts in the near future.

After they login, they will be greeted with a welcome screen, that will display stores nearby. This information is retrieved from the store collection in the Cloud Firestore database. They can then select a nearby supermarket that they have decided to go to. The app will then display recipes that can be made from the ingredients from that one selected supermarket. The app uses tracked current store inventory data, so the all needed ingredients are guaranteed to be available at the selected store.

recipeapp's People

Contributors

tevinwang avatar bobisnot avatar unkn-wn avatar

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.