Welcome to the AI Grocery Budget Planner, a smart web application that helps you create grocery lists, manage your budget, and plan meals with the power of artificial intelligence. Built with React for the frontend and a Node.js backend integrated with the Groq API, this project combines user-friendly design with advanced AI capabilities to optimize your grocery shopping experience.
- AI-Powered Suggestions: Get personalized grocery lists and meal plans based on your budget and dietary preferences using the Groq API.
- Budget Tracker: Visualize your spending with an interactive budget tracker.
- Meal Planning: Generate weekly meal plans with breakfast, lunch, and dinner options.
- Replacement Suggestions: Find cheaper or healthier alternatives for grocery items.
- User-Friendly Interface: Responsive design with a clean, modern look using Tailwind CSS.
- Manual Additions: Add custom items to your grocery list with ease.
- Frontend: React, Vite, Tailwind CSS
- Backend: Node.js, Express, Groq API
- Deployment: Render
- Other Tools: npm, Git, GitHub
- Node.js (v20 or later recommended)
- npm (comes with Node.js)
- Git (for cloning the repository)
git clone https://github.com/CipherYuvraj/AI-Grocery-Budget-Planner.git
cd AI-Grocery-Budget-PlannerNavigate to the backend directory:
cd backendInstall dependencies:
npm installSet up environment variables:
- Create a
.envfile in the backend directory. - Add your Groq API key:
GROQ_API_KEY=your_groq_api_key_here
GROQ_API_URL=https://api.groq.com
Start the backend:
npm startNavigate to the frontend directory:
cd frontendInstall dependencies:
npm installStart the development server:
npm run devBuild for production (optional):
npm run buildServe the production build locally:
npm run start- Open your browser and go to https://ai-grocery-budget-planner-1.onrender.com (or the port specified by npm run dev).
- Enter your budget and dietary preferences in the input form.
- View AI-generated grocery lists, meal plans, or replacement suggestions.
- Add custom items manually and track your budget usage.
- For production, deploy to Render (see Deployed Links section).
Check out the live versions of your project!
- Frontend: https://ai-grocery-budget-planner-1.onrender.com
- Backend API: https://ai-grocery-budget-planner.onrender.com
We welcome contributions! Here's how you can help:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes and commit them (
git commit -m "Add new feature"). - Push to the branch (
git push origin feature-branch). - Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
- Author: [Your Name] (ronak41924@example.com)
- GitHub: CipherYuvraj
- Issues: Report bugs or suggest features here



