Open cjyar opened 3 years ago
We discussed the data model a bit. We're thinking of a single data type for meal/course/whatever smaller division of food planning. Each item can theoretically be assigned to one or more persons. The items of that type would be connected hierarchically, so for example a meal could consist of multiple courses. The UI can hide this complexity and only allow users to do certain things.
Brainstorming on data types: https://jamboard.google.com/d/1fSlWy-lIHPRujnUWtqCk-FQrsAssDpflCTiPoUC3_4o/edit?usp=sharing
OK, so I'm using this tutorial to put in the create a meal plan form: https://nextjs.org/blog/forms
I think I'm really close - but I have some typing issues with React events in create-mealplan.tsx. And probably more important, we need to adjust api/createplan.ts so that it actually posts the plan name and description to the database.
Pausing here until we have a chance to check in with each other.
As a Trip Leader who needs to plan every aspect of a trip, I want meal planning to be simple but thorough.
Use cases: