Full Stack React Project (An AI Recipe Platform)
(Built with Next.js, Tailwind CSS, Strapi, Neon DB, Shadcn UI, Clerk, and Arcjet)
Servd is a modern, full stack AI-powered recipe and pantry management platform that helps users discover recipes, manage pantry items, and cook smarter using artificial intelligence. The platform integrates secure authentication, scalable database, and production-grade security.
π Live Preview:
Servd-AI_Recipe_Platform-Live Demo
- AI-based recipe generation
- Recipe suggestions based on pantry ingredients
- Smart ingredient substitutions
- Personalized cooking recommendations
- Add, update, and delete pantry items
- Track ingredient availability
- Smart usage suggestions
- Reduce food waste with AI insights
- Save and bookmark favorite recipes
- Search and filter recipes
- View detailed cooking instructions
- Categorized recipe browsing
- Secure authentication using Clerk
- Email / social login support
- Protected routes and user sessions
- User-specific pantry and saved recipes
- Bot protection
- Rate limiting
- Request shielding
- Production-grade API security
- Responsive design
- Tailwind CSS + Shadcn UI components
- Smooth animations & loading states
- Mobile-friendly layout
- Next.js (App Router)
- React
- Tailwind CSS
- Shadcn UI
- Lucide Icons
- Strapi (Headless CMS)
- Next.js Server Actions
- REST / API Integration
- Neon DB (PostgreSQL)
- Clerk
- Arcjet
- Gemini AI
Servd-AI_Recipe_Platform/
βββ frontend/ # Next.js Frontend (App Router)
β βββ app/ # Next.js app directory
β βββ components/ # Reusable UI components
β βββ actions/ # Server actions
β βββ hooks/ # Custom React hooks
β βββ lib/ # Utilities & helpers
β βββ public/ # Static assets
β βββ styles/ # Global styles
β βββ .env.example # Frontend env variables
β βββ package.json # Frontend dependencies
β
βββ backend/ # Strapi Backend (Headless CMS)
β βββ config/ # Strapi configuration
β βββ database/ # Migrations & DB setup
β βββ src/
β β βββ api/ # Strapi APIs
β β βββ recipe/ # Recipe content type & logic
β β βββ pantry-item/ # Pantry items API
β β βββ saved-recipe/# Saved recipes API
β β βββ user/ # User-related APIs
β βββ .env.example # Backend env variables
β βββ README.md # Backend-specific README
β
βββ screenshots/ # Project screenshots
βββ README.md # Main project README
git clone https://github.com/devansh934/Servd-AI_Recipe_Platform.git
cd Servd-AI_Recipe_Platformnpm installCreate a .env.local file:
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Strapi
STRAPI_API_URL=your_strapi_url
STRAPI_API_TOKEN=your_strapi_token
# Neon DB
DATABASE_URL=your_neon_database_url
# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
# Arcjet
ARCJET_KEY=your_arcjet_key
# AI
GEMINI_API_KEY=your_gemini_api_key
# Unsplash Key
UNSPLASH_ACCESS_KEY=your_unsplash_api_key
npm run devOpen: http://localhost:3000
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint- Built a full stack AI-powered recipe platform using Next.js and Strapi
- Integrated Neon PostgreSQL for scalable cloud database
- Implemented secure authentication with Clerk
- Added production-grade security using Arcjet
- Designed modern UI with Tailwind CSS and Shadcn UI
- Developed AI-powered recipe generation and pantry intelligence
- Implemented user-specific saved recipes and pantry management
Recommended deployment setup:
- Frontend: Vercel
- Backend CMS: Strapi Cloud
- Database: Neon DB
- Auth: Clerk
- Security: Arcjet
Contributions are welcome !
- Fork the repository
- Create a new branch
- Commit your changes
- Open a Pull Request
This project is licensed under the MIT License.
Devansh Patel
GitHub: https://github.com/devansh934
β If you like this project, donβt forget to give it a star!