Coder Social home page Coder Social logo

the-book-of-tacos's Introduction

>> BOOK OF TACOS <<


0. Welcome page
    About history of tacos
    Browse posts/recipes

--------------------------------------------------

- Models:

  1. User
    attributes: username, password

    has_many :active_relationships
    has_many :passive_relationships
    has_many :posts
    has_many :recipes, through: :posts
    has_many :comments, through: :posts
    has_many :ingredients, through: :recipes

    view: (1) profile view
          (2) edit profile
          (3) display all posts
          (4) display recipes
          (5) create recipes
          (6) display followers/following
          (7) display all comments

--------------------------------------------------

  2. Active_relationship
    attributes: follower, followed
    belongs_to :user

--------------------------------------------------

  3. Passive_relationship
      attributes: followed, follower
      belongs_to :user

--------------------------------------------------

  4. Post
    belongs_to :user
    has_many :comments
    belongs_to :recipe

    view: (1) create/select and save recipe
          (2) create comment
          (3) display comments associated to the post

--------------------------------------------------

  5. Comment
    belongs_to :post

--------------------------------------------------

  6. Recipe
    has_many :posts
    has_many :users, through: :posts
    has_many :recipeingredients
    has_many :ingredients, through: :recipeingredients

    views: (1) show recipe
           (2) Like/save recipe
           (3) list ingredients

--------------------------------------------------

  7. RecipeIngredient
    belongs_to :ingredient
    belongs_to :recipe

--------------------------------------------------

  8. Ingredient
    has_many :recipeingredients
    has_many :recipes, through: :recipeingredients

--------------------------------------------------

  9. Restaurants

    view: (1) display by location (city)

--------------------------------------------------

the-book-of-tacos's People

Contributors

yammik avatar

Watchers

James Cloos 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.