Giter Site home page Giter Site logo

chefjayjay's Introduction

Chefjayjay

Chefjayjay is a prototype app which allows you to share your recipes and share your adventures making them! Currently all data is stored locally in a Realm database. For each recipe added there are groups of ingredients and cooking steps. Once a recipe is created interactions can be added to the recipe. Currently only adding pictures from your local phone gallery is supported.

App Activities

This app contains four activities:

  • MainActivity, landing page where the user can add new recipes and view already added recipes
  • CreateNewRecipeActivity, the place to create new recipes, add a name, ingredients and cooking steps
  • RecipeViewActivity, view the added recipe
  • RecipeInteractActivity, add pictures to an interaction with a recipe

Realm Database Schema

The realm database schema consists of five objects:

  • Recipe
    • id, priamry key of the recipe
    • duration, suggested duration of recipe currently not in use
    • ingredients, one to many relationship to Ingredient
    • cooking_steps, one to many relationship to CookingStep
    • interactions, one to many relationship to RecipeInteractions
  • Ingredient
    • ingredient_name, name/description of the ingredient
  • CookingStep
    • desc, description of the cooking step
  • RecipeInteractions
    • id, primary key of the interaction
    • images, one to many relationship to ImageLocator
  • ImageLocator
    • image_uri, the images uniform resource identifier

Future Work

  • support other types of media (i.e. videos, gifs and text)
  • allow user to take pictures from within app
  • store data in the cloud in a postgresql database
  • support creation of users and sharing to other users directly
  • make the app look better
  • allow ratings for the recipes and the interactions
  • import recipes from other sources

chefjayjay's People

Contributors

justin1121 avatar

Watchers

 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.