ChefBook is building a recipe sharing app where home cooks can:
- Post recipes - add title, description, ingredients list, step-by-step instructions with photos, cooking time, servings, and dietary tags (vegan, gluten-free, etc.).•Search & filter - search recipes by name, ingredient ("recipes with chicken and broccoli"), cooking time, dietary restrictions, and cuisine type.•Meal planner - drag recipes into a weekly calendar. Auto-generate a consolidated grocery list from the week's recipes.•Save & rate - bookmark favorite recipes, rate them (1-5 stars), and leave reviews.•Social - follow other cooks, see a feed of new recipes from people you follow.
Targeting 50,000 users with 20,000 recipes and 10,000 DAU.
Design a recipe sharing platform with ingredient search, meal planning, and grocery lists. Build this architecture under realistic production constraints, then validate tradeoffs in the design lab simulation.
Request path: The solution keeps ingress, service logic, and stateful dependencies separated so each layer can scale independently.
Reference flow: Web Clients -> API Gateway -> API Service -> Primary SQL DB -> Object Storage -> Search Index