Skip to content

KarthickRamAlagar/servd

Repository files navigation

Servd - An AI-Powered Recipe Platform (Frontend)

Discover intelligent cooking with Servd — an AI-powered recipe platform featuring smart pantry scanning, subscription-based rate limiting, Arcjet bot protection, secure Clerk authentication, and advanced generative AI models for personalized recipes.


Servd Architecture

AI Recipes AI Cooking App Pantry Recipe Generator Arcjet Security Clerk Authentication Bot Protection Next.js AI App
🌐 Live Demo: https://servd-three.vercel.app/

🔗 Related Repository

This project works together with the Servd Backend (Server Actions).


📋 Table of Contents

  1. Introduction
  2. Technical Description
  3. Tech Stack
  4. Features
  5. Quick Start
  6. Installation
  7. Environment Variables
  8. Development
  9. Production Build
  10. Deployment
  11. License
  12. Acknowledgements

🚀 Introduction

Servd (Frontend) is the client-side application of the Servd platform, built with React and Next.js.

This frontend interacts with the backend for:

  • Subscription-based rate limiting
  • Pantry scanning & recipe generation
  • Arcjet bot protection
  • Clerk authentication
  • Generative AI-powered personalized recipes

Note: To use all features, clone and run the backend repository separately.


🧠 Technical Description

Servd is engineered for intelligent cooking:

  • React 19 + Next.js 16 for a robust frontend.
  • Tailwind CSS 4 for utility-first styling.
  • Clerk for secure authentication.
  • Arcjet for bot protection.
  • Strapi as headless CMS for recipe data.
  • Google Generative AI for personalized recipe suggestions.

Core Architecture

  • Frontend: React 19 + Next.js 16
  • Styling: Tailwind CSS + Tailwind Merge
  • Animations: tw-animate-css / Sonner
  • Auth & Security: Clerk + Arcjet
  • Backend / CMS: Strapi (Backend Repo)
  • AI Integration: Google Generative AI
  • Deployment: Vercel

🔧 Tech Stack (Summary)

React Next.js Tailwind CSS Clerk Arcjet Strapi Generative AI Tailwind Merge

⚙ Features

  • 🧠 Personalized AI Recipe Suggestions
  • 📦 Smart Pantry Scanning & Recipe Matching
  • 🔐 Secure Authentication with Clerk
  • 🛡 Arcjet Bot Protection
  • 💳 Subscription-based Rate Limiting
  • 🎨 Responsive UI with Tailwind CSS
  • Animations using tw-animate-css & Sonner
  • 🗂 CMS Integration via Strapi (Backend)

⚡ Quick Start

📦 Prerequisites

  • Node.js ≥ 18
  • npm / yarn / pnpm

🛠 Installation

Clone Frontend & Backend Repos

# Clone Frontend
git clone https://github.com/KarthickRamAlagar/servd.git
cd servd
npm install

# Clone Backend (required for server actions & full functionality)
git clone https://github.com/KarthickRamAlagar/servd-backend.git
cd servd-backend
npm install

🔑 Environment Variables

Create a .env file in frontend directory with the following variables:

# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=<your api key goes here>
CLERK_SECRET_KEY=<your api key goes here>
NEXT_PUBLIC_CLERK_SIGN_IN_URL=<your sign-in path goes here>
NEXT_PUBLIC_CLERK_SIGN_UP_URL=<your sign-up path goes here>

# Arcjet Bot Protection
NEXT_PUBLIC_ARCJET_KEY=<your api key goes here>

# Strapi CMS
NEXT_PUBLIC_STRAPI_URL=<your strapi url goes here>
STRAPI_API_TOKEN=<your strapi api token goes here>

# Google Generative AI
GEMINI_API_KEY=<your api key goes here>

# Unsplash API
UNSPLASH_ACCESS_KEY=<your api key goes here>

Development

  • Frontend
    cd servd_FE
    npm run dev
  • Backend
    cd servd_BE
    npm run develop

## Open Frontend in Browser

```bash
http://localhost:3000

Production Build

# Frontend
cd servd
npm run build
npm run start

🪪 License

MIT License

🙏 Acknowledgements

React Next.js Tailwind CSS Clerk Arcjet Strapi Generative AI

About

"Discover intelligent cooking with Servd — an AI-powered recipe platform featuring smart pantry scanning, subscription-based rate limiting, Arcjet bot protection, secure Clerk authentication, and advanced generative AI models for personalized recipes.",

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors