A web application that generates personalized recipes based on available ingredients using Gemini AI for text generation. Built with React for the frontend, and Express and Node.js for the backend, this project demonstrates seamless integration of AI-powered solutions in modern web development. (This is my first project that I made with integrated AI:3)
- Input ingredients and get tailored recipe suggestions
- AI-driven natural language generation for detailed recipe instructions
- Client-Side: React
- Server-Side: Express, Node.js
- AI Integration: Gemini AI (Generative Language)
- Copy the .env.example file into .env
cp .env.example .env
- Change
{YOUR_GEMINI_API_KEY}
to your Gemini API keyGEMINI_API_KEY={YOUR_GEMINI_API_KEY}
-
Install the dependencies for app/server:
npm install
-
Install the dependencies for client:
cd ./frontend npm install
- Start the app/server:
cd ./backend npm run dev
- Start the client
cd ./frontend npm run dev
recipe-app/
├── client/
│ ├── node_modules/
│ ├── public/
│ ├── src/
│ │ ├── assets/
│ │ ├── components/
│ │ │ ├── GeminiRecipe.jsx
│ │ │ ├── Header.jsx
│ │ │ └── IngredientsList.jsx
│ │ │ └── MainContent.jsx
│ │ ├── App.jsx
│ │ ├── main.jsx
│ │ └── index.css
│ ├── eslint.config.js
│ ├── index.html
│ ├── package-lock.json
│ ├── package.json
│ ├── vite.config.js
├── server/
│ ├── api/
│ │ ├── aiService.js
│ └── app.js
├── .env
├── .env.example
├── .gitignore
├── .package-lock.json
├── .package.json
├── .README.md
Created with ❤️ by Wojtyla