RecipeGen — Turn Your Fridge into Recipes | AI Final Year Project
Back to ProjectFollow these steps in order to get RecipeGen running on your local machine. The entire setup usually takes around fifteen minutes if you already have Node.js and Python installed.
Extract the RecipeGen zip file you received from CodeAj Marketplace into any folder on your computer. Inside, you will see two main folders named recipe-generator-frontend and recipe_generator-backend.
Open a terminal window and move into the backend folder.
cd recipe_generator-backend
Create a fresh Python virtual environment.
python -m venv venv
Activate the virtual environment.
On Windows:
venv\Scripts\activate
On Mac or Linux:
source venv/bin/activate
Install all backend dependencies from the requirements file.
pip install -r requirements.txt
Create a new file named .env inside the backend root folder and paste your Groq API key into it.
GROQ_API_KEY=your_actual_groq_api_key_here
Apply the database migrations.
python manage.py migrate
Start the Django development server.
python manage.py runserver
The backend will now be running at http://localhost:8000. Keep this terminal open.
Open a second terminal window and move into the frontend folder.
cd recipe-generator-frontend
Install all Node dependencies.
npm install
Start the Next.js development server.
npm run dev
The frontend will now be running at http://localhost:3000.
Open your browser and visit http://localhost:3000. Fill in your dietary restrictions, preferred cuisines, and the ingredients you have at home. Click generate and your first AI-generated recipe will appear in under ten seconds. Every recipe you generate is automatically saved to your library which you can browse anytime.
If you get stuck anywhere during setup, CodeAj Marketplace offers a paid project setup and source code explanation session. We hop on a screen share call, get the project running on your laptop, and walk you through the entire codebase so you are fully prepared for your viva. You can also request custom project reports, research papers, and PPTs as add-on services.
Our team is here to assist you with installation and setup.