Giter Club home page Giter Club logo

mealplanner's People

Contributors

weristspokey avatar

Watchers

 avatar

mealplanner's Issues

Add Views

  • twig.html files and controllers for
    • mealplan
    • kitchen
    • recipes
    • grocerylist

Refactoring

  • reuse forms
  • delete unnecessary comments
  • delete/sort use statements
  • delete unnecessary third party stuff in public foulder
  • use .min files

Mealplan View: Add MealplanItem Form

When selecting an item, the other selectpicker should be disabled.
For each mealplan either the recipeId column is empty or the foodId column.

SEO

  • Title, keywords, description

Responsive Layout

wtf is happening at (min-width: 992px) (FIXED)

  • responsive calendar

Access Controll for Routes

  • only logged in users can visit the views mealplan, recipes, kitchen and grocerylist
    • adding these paths in security.yml
  • no access to lists of other users via route
  • no access to other recipes
  • no access to deleting/adding items to other lists

SEO

  • About mealplanner -> h1

Database Design

  • User
    • id
    • username
    • email
    • password
  • Recipe
    • id
    • userId (User:id)
    • name
    • description
    • tags
    • ingredients in Table RecipeItem
    • image
  • Food
    • id
    • name
    • is_vegetarian
    • is_vegan
  • Grocerylist
    • id
    • userId (User:id)
    • name
  • GrocerylistItems
    • id
    • grocerylistId (Grocerylist:id)
    • foodId (Food:id)
  • RecipeItems (Ingredients for Recipe)
    • id
    • recipeId (Recipe:Id)
    • foodId (Food:id)
  • KitchenList
    • id
    • userId (User:id)
    • name
  • KitchenItems
    • kitchenId (KitchenList:id)
    • foodId (Food:id)
  • Mealplan
    • id
    • userId (User:id)
    • date
    • type
      MealplanItems
    • id
    • mealplanId (mealplan:id)
    • foodId (Food:id)
  • MealplanItems

CRUD

  • tags
  • recipes
  • kitchen
  • Grocerylist

Kitchen View

  • Load Kitchen of current User
  • Show Lists
  • Add Items
  • Delete Items

profile site

A site to manage main user settings and to customize nutrition behaviour like vegan/vegetarian.
The listet food for recipes etc should consider this.

Grocerylist View

  • Load Grocerylists of current User
  • show Lists
  • Add List
  • Edit List
  • Delete List
  • Add Listitem
  • Edit Listitem
  • Delete Listitem

Exceptions

  • When delete a Recipe it must be deleted in mealplan
  • If a username is already used (/register)
  • If Login fails
  • Deleting item that is already deleted
  • 404
  • [ ]

Add Usermanagement

  • Create User Entity for storing in the database via php bin/console generate:doctrine:entity
    • create corresponding table in database via php bin/console doctrine:schema:update
  • Login as Admin
  • Register as new User
    • register Form via php bin/console doctrine:generate:form AppBundle:User
  • Login as User
    • Login Form
  • Logout
  • bcrypt for security

Create Entities

php bin/console generate:doctrine:entity

  • Recipe
  • Food
  • Grocerylist
  • KitchenList
  • Mealplan

Mealplan View

  • Load mealplan of current user
  • Load food in modal panel
  • Load recipes of current user in modal panel
  • Slider for weekly meals
    • dynamic
  • Add Meal
  • Edit Meal
  • Delete Meal

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.