
Overview
What to Eat is for the familiar “what can I make with this?” moment. Add the ingredients you have and any dietary preferences, and it suggests recipes instead of letting food sit forgotten in the fridge.
My role
I built this as a side project to learn TypeScript and Next.js while solving a problem I regularly have at home. The main flow combines pantry ingredients and dietary preferences without turning dinner into another research task.
How it works
- Choose your dietary preferences.
- Enter the ingredients you already have.
- Review personalised suggestions from the Spoonacular API.
- Open a recipe to see its details.
The app normalises ingredient input, uses typo-tolerant matching, and lets people save favourite recipes.
Current limitations
- The Spoonacular API can occasionally return ingredients outside the selected dietary filters.
What I would improve next
- Add meal-planning tools
Outcome
What began as a learning project became a tool I use when I am not sure what to cook. It also gave me practical experience working with external recipe data and imperfect API results.
Stack
- T3 Stack
- React
- TypeScript
- Next.js
- Prisma
- Tailwind CSS
- tRPC
- NextAuth.js
- Spoonacular API
- Canva and Figma