Recetario
App to find out what to cook with the ingredients you have at home, with recipes in Spanish, a shopping list and optional help from an AI.
Full-stack product in production: its own Django API, a Supabase database and an optional LLM integration, with a frontend made for the phone while cooking.
Goal
Add what is in the pantry and instantly see which recipes can be made, sorted by the percentage of ingredients already at hand.
Problem it solves
Deciding what to cook with what is left at home takes time and ends in extra shopping. Recetario matches the pantry against TheMealDB's recipes, shows what is missing in each one and adds it to the shopping list.
Solution
A custom Django API matches the user's pantry with TheMealDB recipes, translates them into Spanish and works out what is missing for each one.
Architecture diagram
- BrowserVue 3 · Vuetify · Pinia · light and dark theme
- Django APIDjango REST Framework · JWT · services for recipes, translation, photos and AI
- SupabasePostgreSQL with its own schema and role
- External sourcesTheMealDB, free photos and the AI
Features
- Accounts with sign-up and login by email or username, and account deletion together with all its data.
- Pantry by category, with autocomplete of common ingredients and quantities.
- Recipe search in TheMealDB by ingredients, with filters and the match percentage, the ingredients you have and the ones you lack.
- Everything in Spanish, even though the recipe source only exists in English.
- Recipe detail with a button to add all the missing ingredients to the shopping list at once.
- Favourites with personal notes in "Mis recetas".
- AI suggestions with full recipes (ingredients with quantities, steps, times and tips), adapting a recipe to the pantry and a weekly meal plan; saved ones get timers on the steps that need waiting.
- A sample photo of each dish with credit to its author, or none if no reliable one is found.
- Light and dark theme, and bottom navigation on mobile.
Integrations
- TheMealDB: recipe catalogue.
- OpenAI-compatible AI API: suggestions, adapting to the pantry and weekly diet.
- Wikipedia, Pexels, Unsplash, Openverse and Wikimedia Commons: sample photos with credit.
Technical challenges
- 01An English catalogue, a Spanish appTheMealDB only exists in English. The backend translates what the user types with a table of common ingredients and returns the recipes in Spanish using category and measure tables plus an automatic translator; each text is translated once and stored, and if the translator fails the recipe is still shown and says what was left in English.
- 02A reliable photo or noneThe sample photo is searched in several sources in a row (Wikipedia, Pexels, Unsplash, Openverse and Wikimedia Commons) and only accepted if its name matches the dish; it is better to show no photo than the photo of another dish. Each photo links to its origin.
- 03The limits of Supabase's free planThe session-mode pooler allows 15 connections at once. Each request opens and closes its own, and the threads the search uses to query TheMealDB do not touch the database, which an automated test checks; before that, a few simultaneous searches used up the pooler.
- 04An AI that doesn't take the app downThe AI is optional and configured through environment variables for any OpenAI-compatible API. It validates its response before using it, is limited to 40 requests per hour per user and, if it fails, the normal search keeps working.
- 05Each user only sees their own dataSaved AI recipes carry an identifier tied to the user and the detail returns 404 to everyone else; there are isolation tests between accounts, and the server adds security headers with a strict content policy that had to be extended for each photo origin that was added.
Result
Anyone with ingredients at home sees right away what they can cook and buys only what they are missing.
Current status
Released in October 2026, with its own API and database and 332 automated tests (263 backend and 69 frontend).
Future improvements
- Expand the Spanish ingredient table, which is what improves search results the most.
- Make it an installable app (PWA) and add timer notifications.
- Show time and difficulty for TheMealDB recipes too, which it doesn't provide.