PlanYourDiet is a full-stack AI-driven diet planning application that allows users to receive personalized weekly diet plans based on their goals, preferences, and allergies.
- Frontend: React.js, Tailwind CSS, React Hook Form, Zod, axios
- Backend: Node.js, Express.js, Prisma ORM
- Database: PostgreSQL
- Authentication: JWT (access + refresh tokens)
- AI Integration: Together.ai (LLaMA 3 70B) for meal plan generation
- User Registration & Login
- Profile Setup: age, weight, height, diet type, allergies, etc.
- AI-generated 7-day weekly meal plans (macros + calories)
- View meals categorized by day and time (breakfast/lunch/etc.)
- Regenerate plans when needed
- JWT Authentication with refresh token auto-renewal, setup using axios interceptors and react context API
- responsive UI
git clone --depth 1 https://github.com/praneeth-katuri/plan-your-diet.git
cd plan-your-dietcd server
npm install
cp .env.example .env # add your secrets into .env (IMPORTANT)
# Migrate DB
npx prisma migrate dev
# Start server
npm run devcd ../client
npm install
npm run dev- PDF export for diet plans
- Dark mode support
- Nutrition label suggestions
- AI chatbot for food alternatives
MIT © 2025 Praneeth Katuri





