A Prompt for a Recipe Box App
Your family recipes deserve better than a notes app. This brief builds a recipe box that scales servings, keeps the screen awake while you cook and writes your shopping list.

Key takeaways
- Store each ingredient as quantity, unit and item, not as one line of text. Scaling, shopping lists and search all depend on it.
- Cook mode is the feature people remember: big steps, one at a time, screen kept awake.
- Keep the first version private to your own account; sharing and public pages are a second step.
The prompt below builds a private recipe box: a web app where you save your own recipes with photos, scale any recipe to a different number of servings, cook from a distraction-free step view, and turn a few chosen recipes into one combined shopping list. Paste it into Startbase as written, then use the follow-ups and fixes further down to shape it into the one your kitchen needs.
Paste this brief
Build a personal recipe box web app with a warm, paper-like look that works well on a phone propped on the counter. Use Startbase Cloud for sign-in (email and password) and data. Data: recipes (title, description, servings, prep minutes, cook minutes, source note, photo, owner, created_at), ingredients (recipe, order, quantity as a number, unit from a fixed list such as g, kg, ml, l, tsp, tbsp, cup, piece, pinch, item name, optional note like "finely chopped", optional section like "for the sauce"), steps (recipe, order, text, optional timer in minutes), tags (name), and recipe_tags. Store recipe photos in a private storage bucket. Screens: 1) Library: grid of recipe cards with photo, title and total time, a search box that matches titles, tags and ingredient names, and tag filter chips. 2) Recipe page: a servings stepper that rescales every quantity live, rounding to sensible kitchen amounts, ingredients grouped by section, numbered steps, and a Cook button. 3) Cook mode: one step at a time in large text, swipe or tap to move, a start button for any step with a timer, and the screen kept awake. 4) Add or edit recipe: a form with an ingredient row editor and a paste box that splits pasted text into ingredient lines I can review. 5) Shopping list: pick recipes, merge matching items and units into one checklist. Each user sees only their own recipes. Out of scope for now: importing from website links, meal planning calendars, nutrition facts, and public sharing.
Why it is written this way
Most recipe apps disappoint for one reason: ingredients saved as free text. "2 cups flour" stored as a sentence cannot be doubled, merged into a list, or searched by ingredient. The brief spells out quantity, unit and item as separate fields, and a fixed unit list, so every later feature has clean data to work with.
- Quantity as a number: "1/2" must become 0.5 in storage. Display can turn it back into a fraction.
- Sections inside ingredients: real recipes say "for the dough" and "for the filling". Without a section field, the agent flattens them and the recipe becomes confusing to cook from.
- "Rounding to sensible kitchen amounts": scaling three eggs by 1.5 should not say 4.5 eggs without comment, and scaling a tablespoon should not produce 0.33 tbsp. Naming the expectation gets you rules such as rounding to the nearest quarter and switching tsp to tbsp when it gets large.
- Private bucket for photos: food photos are harmless, but the habit is right. Startbase Cloud storage buckets are private by default, and the app shows them through short-lived signed links.
- Cook mode with the screen kept awake: on many phones the browser can hold the screen on while a page is open. It turns the app from a library into a tool you actually use at the stove.
- The paste box: typing twenty ingredient rows is the moment people give up. Splitting pasted text into rows that you review keeps entry fast and the data structured.
- Out of scope: importing from recipe websites sounds easy and is not; many sites block automated fetching, and every site formats recipes differently. Leave it out until the core works.
Three prompts to send next
- 01"Add unit conversion to the recipe page: a toggle between metric and US units that converts weights and volumes for display only, and leaves pieces, pinches and items alone."
- 02"Add collections: I can make named collections like Weeknight or Holidays, add a recipe to several, and see a collection as its own library page."
- 03"On the recipe page, add a Notes from cooking area where I can add dated notes like 'used less salt, better', shown newest first."
Conversion comes first because it tests whether the ingredient data is truly clean: if it converts badly, fix the data before adding more. Collections replace the urge to invent dozens of tags. Cooking notes are small to build and make the box feel like yours, because a recipe you have cooked ten times is never the same as the one you wrote down.
Two variations worth trying
A shared family cookbook
Change the ownership model: "Recipes belong to a cookbook, not a user. A cookbook owner invites family members by email. Members can add and edit recipes; only the owner can delete. Each recipe shows who added it, and the recipe page has a Story field for the memory behind it." This version is about grandparents' handwriting more than cooking speed, so ask for large photos of handwritten cards next to the typed version.
A recipe box with AI help
Add an AI step to the paste box: "When I paste a recipe, send it to an AI call that returns structured JSON (title, servings, ingredients with quantity, unit, item, note and section, and steps), then show it in the edit form for me to confirm before saving." Startbase Cloud's App AI gateway lets your app make that call without its own API keys and can return structured JSON when given a schema. Text calls are billed as runtime usage from Cloud Credits, so set a runtime cap for the app before you share it.
Common problems and the prompt that fixes each
- Scaling produces silly numbers. "0.6666667 cups" means display rounding is missing. Ask: "Display scaled quantities as kitchen fractions (1/4, 1/3, 1/2, 2/3, 3/4) for cups and spoons, whole numbers for pieces, and grams rounded to the nearest 5 above 100 g."
- The shopping list repeats items. "onion" and "onions" or "1 cup milk" and "200 ml milk" stay separate. Ask: "Merge shopping list items by normalized name (singular, lowercase), convert units to one system before adding, and show the recipe names each item came from."
- Search misses ingredients. Often search only checks titles. Ask: "Search must also match ingredient item names and tags, case-insensitive, and show which part matched."
- Photos load slowly. Full-size phone photos are several megabytes each. Ask: "Resize photos to about 1600 pixels wide before upload and show smaller thumbnails in the library grid."
- The paste box splits lines badly. Ask: "When splitting pasted ingredients, recognize fractions like 1 1/2 and unicode fractions, put anything in parentheses into the note, and flag lines it could not parse in yellow instead of guessing."
Where to take it from here
Once you trust the box with your own recipes, publish it in one click to a startbase.app address and add it to your phone's home screen from the browser. On a paid plan you can move it to your own domain. If you later want public recipe pages that search engines can find, treat that as a new feature with its own visibility rules: a per-recipe Public switch, and policies that let anyone read only the recipes marked public.
For a wider view of features, data and search, read how to build a recipe app. For how photos are stored, sized and served, see how apps store files and images and the Storage docs. More personal tools like this one live under personal apps.
Frequently asked questions
What is the best way to store recipes in an app?
Store each ingredient as separate fields (quantity as a number, unit from a fixed list, item name and an optional note) and each step as its own row. That structure makes scaling, shopping lists and ingredient search possible.
Can a recipe app import recipes from websites?
It can, but it is harder than it looks: many sites block automated fetching and every site formats recipes differently. Start with pasting recipe text and parsing it into ingredients and steps, then add link import later if you still need it.
How do recipe apps scale servings?
They multiply each quantity by the new servings divided by the original servings, then round for display to amounts you can actually measure, such as kitchen fractions for cups and spoons.

