<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mayur</title>
    <description>The latest articles on DEV Community by Mayur (@mayur_01565ca649e57d24f06).</description>
    <link>https://dev.to/mayur_01565ca649e57d24f06</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3916266%2F4d391345-4be4-434f-b288-49440900c7ca.png</url>
      <title>DEV Community: Mayur</title>
      <link>https://dev.to/mayur_01565ca649e57d24f06</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mayur_01565ca649e57d24f06"/>
    <language>en</language>
    <item>
      <title>How I Built ChefMate — An AI Recipe App for Hostel &amp; PG Students</title>
      <dc:creator>Mayur</dc:creator>
      <pubDate>Wed, 06 May 2026 15:14:35 +0000</pubDate>
      <link>https://dev.to/mayur_01565ca649e57d24f06/how-i-built-chefmate-an-ai-recipe-app-for-hostel-pg-students-39p8</link>
      <guid>https://dev.to/mayur_01565ca649e57d24f06/how-i-built-chefmate-an-ai-recipe-app-for-hostel-pg-students-39p8</guid>
      <description>&lt;p&gt;Most recipe apps assume you already have a full kitchen.&lt;/p&gt;

&lt;p&gt;But during college and hostel life, the reality is usually:&lt;br&gt;
onion + potato + maggi + random masalas 😭&lt;/p&gt;

&lt;p&gt;That simple problem became the idea behind ChefMate.&lt;/p&gt;

&lt;p&gt;I wanted to build something where users could simply select the ingredients they already had available and instantly generate quick Indian-style recipes instead of endlessly searching YouTube or recipe blogs. &lt;/p&gt;




&lt;h1&gt;
  
  
  🚀 What is ChefMate?
&lt;/h1&gt;

&lt;p&gt;ChefMate is a full-stack AI-powered recipe and meal planning platform built using the MERN stack.&lt;/p&gt;

&lt;p&gt;Users can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;generate recipes using available ingredients&lt;/li&gt;
&lt;li&gt;use a guided Cook Mode&lt;/li&gt;
&lt;li&gt;save recipes&lt;/li&gt;
&lt;li&gt;create meal plans&lt;/li&gt;
&lt;li&gt;share recipes using public links&lt;/li&gt;
&lt;li&gt;browse additional recipes using TheMealDB API&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The focus was making the experience simple and practical for students, hostel residents, and bachelors living alone. &lt;/p&gt;




&lt;h1&gt;
  
  
  🛠️ Tech Stack
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Frontend
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;React&lt;/li&gt;
&lt;li&gt;Vite&lt;/li&gt;
&lt;li&gt;Tailwind CSS&lt;/li&gt;
&lt;li&gt;React Router&lt;/li&gt;
&lt;li&gt;Axios&lt;/li&gt;
&lt;li&gt;React Hot Toast&lt;/li&gt;
&lt;li&gt;React GA4&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Backend
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Node.js&lt;/li&gt;
&lt;li&gt;Express&lt;/li&gt;
&lt;li&gt;MongoDB&lt;/li&gt;
&lt;li&gt;Mongoose&lt;/li&gt;
&lt;li&gt;JWT Authentication&lt;/li&gt;
&lt;li&gt;Express Rate Limit&lt;/li&gt;
&lt;li&gt;Zod Validation&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  AI &amp;amp; APIs
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;OpenRouter API&lt;/li&gt;
&lt;li&gt;Gemini / Llama / Mistral models&lt;/li&gt;
&lt;li&gt;TheMealDB API&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  ✨ Features I Added
&lt;/h1&gt;

&lt;h2&gt;
  
  
  🤖 AI Recipe Generator
&lt;/h2&gt;

&lt;p&gt;Users select ingredients and preferences like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;vegetarian/vegan&lt;/li&gt;
&lt;li&gt;cooking time&lt;/li&gt;
&lt;li&gt;dietary preferences&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The app then generates structured recipes with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ingredients&lt;/li&gt;
&lt;li&gt;cooking steps&lt;/li&gt;
&lt;li&gt;health benefits&lt;/li&gt;
&lt;li&gt;estimated cooking time&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🍳 Cook Mode
&lt;/h2&gt;

&lt;p&gt;One feature I personally liked building was Cook Mode.&lt;/p&gt;

&lt;p&gt;Instead of showing a giant recipe paragraph, the app guides users step-by-step while cooking.&lt;/p&gt;

&lt;p&gt;I also added:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;progress tracking&lt;/li&gt;
&lt;li&gt;timers&lt;/li&gt;
&lt;li&gt;step navigation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;to make the cooking experience smoother. &lt;/p&gt;




&lt;h2&gt;
  
  
  📅 AI Meal Planner
&lt;/h2&gt;

&lt;p&gt;Users can generate meal plans for multiple days based on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;calorie goals&lt;/li&gt;
&lt;li&gt;diet preferences&lt;/li&gt;
&lt;li&gt;number of days&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔗 Shareable Recipes
&lt;/h2&gt;

&lt;p&gt;Users can generate public recipe links and share them directly through WhatsApp or browser sharing APIs.&lt;/p&gt;

&lt;p&gt;Shared recipes can be opened without login. &lt;/p&gt;




&lt;h1&gt;
  
  
  ⚡ Biggest Challenges
&lt;/h1&gt;

&lt;h2&gt;
  
  
  1. Making AI responses consistent
&lt;/h2&gt;

&lt;p&gt;LLM outputs are unpredictable.&lt;/p&gt;

&lt;p&gt;Sometimes responses came as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JSON&lt;/li&gt;
&lt;li&gt;markdown&lt;/li&gt;
&lt;li&gt;incomplete text&lt;/li&gt;
&lt;li&gt;broken formatting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I had to build normalization and validation logic to structure responses properly. &lt;/p&gt;




&lt;h2&gt;
  
  
  2. UI/UX Problems
&lt;/h2&gt;

&lt;p&gt;One thing I learned quickly:&lt;br&gt;
good functionality alone is not enough.&lt;/p&gt;

&lt;p&gt;Early feedback made me realize:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the UI felt too “AI-generated”&lt;/li&gt;
&lt;li&gt;layouts were inconsistent&lt;/li&gt;
&lt;li&gt;some flows were confusing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I spent a lot of time refining:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;spacing&lt;/li&gt;
&lt;li&gt;typography&lt;/li&gt;
&lt;li&gt;visual hierarchy&lt;/li&gt;
&lt;li&gt;loading states&lt;/li&gt;
&lt;li&gt;mobile responsiveness&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Public Feedback &amp;amp; Distribution
&lt;/h2&gt;

&lt;p&gt;I recently started sharing the project publicly and learned that distribution is honestly harder than coding sometimes 😭&lt;/p&gt;

&lt;p&gt;Posting on communities taught me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;how people perceive AI products&lt;/li&gt;
&lt;li&gt;how important positioning is&lt;/li&gt;
&lt;li&gt;how to communicate projects naturally instead of sounding overly promotional&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That was a surprisingly valuable learning experience.&lt;/p&gt;




&lt;h1&gt;
  
  
  🔒 Security Improvements
&lt;/h1&gt;

&lt;p&gt;One important issue I discovered after feedback:&lt;br&gt;
the AI endpoints initially had no proper rate limiting.&lt;/p&gt;

&lt;p&gt;Since LLM APIs cost credits, users could theoretically spam requests.&lt;/p&gt;

&lt;p&gt;I fixed this using Express Rate Limit to protect expensive endpoints. &lt;/p&gt;




&lt;h1&gt;
  
  
  📈 What I Learned
&lt;/h1&gt;

&lt;p&gt;Building ChefMate taught me much more than just coding:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;shipping real products&lt;/li&gt;
&lt;li&gt;handling user feedback&lt;/li&gt;
&lt;li&gt;improving UX&lt;/li&gt;
&lt;li&gt;API security&lt;/li&gt;
&lt;li&gt;analytics integration&lt;/li&gt;
&lt;li&gt;authentication flows&lt;/li&gt;
&lt;li&gt;real-world deployment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also made me realize:&lt;br&gt;
building something usable is much harder than just making something functional.&lt;/p&gt;




&lt;h1&gt;
  
  
  🔮 Future Plans
&lt;/h1&gt;

&lt;p&gt;Some things I’d like to improve:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;recipe images/videos&lt;/li&gt;
&lt;li&gt;grocery list generation&lt;/li&gt;
&lt;li&gt;better onboarding&lt;/li&gt;
&lt;li&gt;stronger personalization&lt;/li&gt;
&lt;li&gt;social/community features&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  🌐 Live Demo
&lt;/h1&gt;

&lt;p&gt;ChefMate:&lt;br&gt;
&lt;a href="https://chefmate-frontend.vercel.app" rel="noopener noreferrer"&gt;https://chefmate-frontend.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub:&lt;br&gt;
&lt;a href="https://github.com/mayurCoder2004/chefmate" rel="noopener noreferrer"&gt;https://github.com/mayurCoder2004/chefmate&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Would genuinely love feedback from other developers/builders on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;UI/UX&lt;/li&gt;
&lt;li&gt;product direction&lt;/li&gt;
&lt;li&gt;architecture&lt;/li&gt;
&lt;li&gt;ideas for improvement 🙌&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>react</category>
      <category>node</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
