GithubHelp home page GithubHelp logo

polakosz / meal-planner Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 70 KB

Custom meal planner for my needs

License: MIT License

C# 94.55% HTML 3.44% CSS 2.01%
csharp meal meal-planner eat food wpf shopping-list cross cross-platform xamarin

meal-planner's Introduction

MealPlanner

meal-planner's People

Contributors

polakosz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

meal-planner's Issues

Data Access Layer

The applicaiton should load the data from SQL Lite tables instead of jSON files with an ORM tool.

Dependency Injection

Make the app more flexible by using Dependency Injection (in Views constructor, ...Generator, etc).

Meal generator

The new meal generator should

  • add new column only to the selected row (not every row like now) and only if the previous column is correct (every field filled)
  • add new row only if the row above is completly filled
  • edit previously added wrong FoodIngredient
  • delete previously added wrong FoodIngredient
  • display a settings to set which part of the day can eat the added meal (repast)
  • can not accept FoodIngradient which is not in the Ingradients list

Why are multiple rows?

When the program will generate the menu it will choose only one column from each row. Basically this will allow the program for example to generate the hamburger with tomato but sometimes with salad.

Menu generator

Declare the functionality to make a whole menu from the previously defined Meals collection.

Some options

  • Generate menu only for a week / month / year / a given date

More advanced Shopping list

Generate a shopping list from the generated menus.

Special options

  • Last day : the day which will represent the range end from the last shopping list generation selected day (or the current day if there is no previous shopping list)
  • Add / Edit / Delete Shopping List item after it generated
  • Display previous Shopping Lists

How it works

  • Select the first day (last generated shopping list day or the current day)
  • Select the Last day

Repast menu

A stand alone menu only for repast to add, edit (order) and delete them.

UI

The UI currently really amateur.

UI samples

ShowMealView

meal generator

EditMealView

meal generator

DeleteMealView

meal generator

Ingredients grouping

For example:
Bread Roll, Crescent
or
Chichen Breasts, Miced meat could be in one group.

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.