A full-stack web application that uses AI to generate personalized recipes based on user descriptions. Users can search for meal ideas, view detailed recipes with ingredients and instructions, and save their favorite recipes for later. The project features a responsive design with a modern UI and seamless user experience across all devices.
- AI Recipe Generation: Generate food recipes using AI based on your ingredients
- Favorite Recipes: Save and manage your favorite recipes
- User Authentication: Secure sign-in and registration
- Search Functionality: Find recipes based on what you have
- Responsive Design: Works perfectly on all devices
- Search for Recipes: Use the search bar to describe what you want to eat
- Browse Suggestions: View AI-generated recipe suggestions
- Save Favorites: Create an account to save your favorite recipes
- View Details: Click on any recipe to see ingredients and instructions
- Next.js - React framework with App Router
- Tailwind CSS - Styling
- NextAuth.js - Authentication
- MongoDB - Database with Mongoose ODM
- Groq API - AI recipe generation
To get started with this project, follow these steps:
- Clone the repository:
git clone https://github.com/horlesqcookbook-ai.git- Navigate to the project directory:
cd cookbook-ai- Install dependencies:
npm install- Set up environment variables:
# Create .env.local file with:
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-secret-key
GROQ_API_KEY=your-groq-api-key
PEXELS_API_KEY=your-pexels-api-key
MONGODB_URI=your-mongodb-connection-string- Start the development server:
npm run dev- Open your browser and navigate to http://localhost:3000 to access the application.
This project is open source and available under the MIT License.
For any inquiries or feedback, feel free to reach out via:
- GitHub: Horlesq
- Linkedin: Adrian Horlescu
- Website: horly.dev
For questions or suggestions, feel free to open an issue or submit a pull request.