Skip to content

dominikjessen/yeschef

Repository files navigation

Yes, Chef! logo

Meal planning shouldn't take more than 5 minutes a week. Yes, Chef! will help you create a great menu for the week ahead using all your favorite recipes or inspiring ones from across the web (powered by Edamam's Recipe Search API).

Built with

Typescript Next.js Radix UI React Hook Form Zod HTML5 CSS3 Tailwind Turso Prisma

About Yes, Chef!

Yes, Chef! is an app to quickly figure out your meal plan for the week from all your favorites (or forgotten favorites). Simply add your recipes to your own little recipe book, start the random generator and you'll have a varied meal plan in no time. Don't have a treasure trove of great recipes yet? No problem, the tool uses Edamam's Recipe API to help you explore different cuisines and find new favorites.

Check out Yes, Chef! here

About the codebase & future work

Yes, Chef! is a small project built to scratch my own itch. I love cooking but am notoriously bad at choosing what to eat for the week taking up too much of my mental space. I wanted to combine this with building a Next.js app that would largely depend on Server Components and the experimental Server Actions. In my opinion they provide a rather simple way of performing logic on the server without having to build and call API routes.

On the backend, I'm using Prisma with a Turso-hosted Libsql/Sqlite database as well as NextAuth (Auth.js) for authentication which works well enough despite some supposed issues with the App Router. On the frontend, I wanted to implement drag & drop and used DnDKit as a great library to make dnd simple to implement. I also chose Zustand as a simple state management library over something like Redux (or just using hooks or Context) because it made managing and manipulating state from both the main mealplan component and the individual mealplan cards incredibly simple. I chose to use it for a separate client-side cache for the Edamam Recipe API as well to minimize API calls as much as possible.

Product Images

Mealplan page Recipe page

About

Make meal planning easy with Yes, Chef!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors