Website Link : https://precisebake.vercel.app/
Online recipe platforms often list ingredients in vague measurements like "cups" or "spoons," which can lead to inconsistent results, especially in professional baking. This lack of precision frustrates bakers and affects the quality of their baked goods.
Participants are tasked with developing AI-powered tools that convert recipe measurements into precise grams. Solutions should include:
- A database of ingredient densities
- Real-time conversion algorithms
- User-friendly interfaces
Ensuring accurate and consistent results for all bakers.
PreciseBake is an AI-powered solution that leverages Google Gemini API to accurately convert volume-based ingredient measurements into precise weight values in grams or kilograms. The project integrates an ingredient list with density values, allowing seamless and accurate conversions.
- Google Gemini API Integration: Used for intelligent conversions of ingredient measurements.
- Ingredient List: A predefined dataset containing ingredient densities, ensuring correct conversions.
- Backend Functionality: The backend is responsible for processing conversions via the Gemini API.
- Recipe Generator: The
Generatecomponent calls the Gemini API to provide detailed recipes. - React.js Frontend: Built as a single-page application (SPA) for seamless user experience.
- Frontend: React.js (Single Page Application)
- Backend: Node.js with Express.js
- API Integration: Google Gemini API
- Styling: Tailwind CSS, Post CSS
- Package Manager: npm
- Clone the repository:
git clone https://github.com/your-username/precisebake.git cd precisebake - Install dependencies:
cd backend && npm install cd ../frontend && npm install
- Add your Google Gemini API key in
.env:VITE_GOOGLE_GEMINI_API_KEY=your_api_key_here
- Run the backend:
cd backend && npm start
- Run the frontend:
cd frontend && npm run dev
- Enter an ingredient measurement (e.g.,
1 cup of butter). - The system will use AI to return the precise weight in grams or kilograms.
- Use the recipe generator to get AI-powered recipes with exact ingredient weights.
- Improve ingredient database with more entries and densities.
- Enhance UI with interactive elements.
- Adding shopping list related to the recipe generated.
Yadubir Jha, Riti Sinha, Asmita Agarwal, Anshuman Singh
This project is open-source and available under the MIT License.
Feel free to contribute, suggest improvements, or report issues! 🚀
