Skip to content

bandarupavankumar/Restaurant-Website

Repository files navigation

🍔 Food Delivery App

A modern, full-stack food delivery application built with the MERN Stack (MongoDB, Express, React, Node.js). Features a beautiful UI, smooth animations, user authentication, and a comprehensive admin dashboard.

Project Banner

✨ Features

  • 🎨 Modern UI/UX:
    • Glassmorphism design & responsive layout.
    • AOS Animations for smooth scroll reveals.
    • Interactive "Chef's Suggestions" section.
  • 🔐 Authentication:
    • Semantic and secure login via Clerk.
    • Protected Admin routes.
  • 🛒 Shopping Cart:
    • Application-wide state management for cart operations.
    • Real-time price calculation.
  • 👨‍🍳 Admin Dashboard:
    • CRUD Operations: Add, Edit, and Delete food items.
    • Real-time updates with optimistic UI.
    • Image URL support.
  • ⚡ Performance:
    • Optimized with Vite.
    • Lazy loading & component code splitting.

🛠️ Tech Stack

Frontend:

  • React React (Vite)
  • CSS3 Vanilla CSS (Variables & Animations)
  • Clerk Clerk Auth
  • AOS AOS Library

Backend:

  • NodeJS Node.js
  • Express Express.js
  • MongoDB MongoDB

📸 Screenshots

Home Page Admin Dashboard
Home Admin
Smooth Animations & Hero Manage Menu Items
Food Menu Login Modal
Menu Login

(Tip: Upload your screenshots to an assets folder or paste them into a GitHub issue to get a URL, then replace these links!)

🚀 Getting Started

Prerequisites

  • Node.js installed
  • MongoDB Atlas account (for DB URI)
  • Clerk account (for Auth Keys)

Installation

  1. Clone the repo

    git clone https://github.com/bandarupavankumar/Restaurant-Website.git
    cd Restaurant-Website
  2. Setup Backend

    cd backend
    npm install
    # Create a .env file in /backend
    # MONGO_URI=your_mongodb_connection_string
    npm start
  3. Setup Frontend

    # Open a new terminal root
    npm install
    # Create a .env file in root
    # VITE_CLERK_PUBLISHABLE_KEY=your_clerk_key
    # VITE_API_URL=http://localhost:5000
    npm run dev

🌍 Deployment

Frontend (Vercel)

  • Connect repo to Vercel.
  • Set Environment Variables:
    • VITE_API_URL: Your Render Backend URL.
    • VITE_CLERK_PUBLISHABLE_KEY: Your Clerk Key.

Backend (Render)

  • Connect repo to Render.
  • Root Directory: backend.
  • Build Command: npm install.
  • Start Command: node server.js.
  • Env Var: MONGO_URI.

Made with ❤️ by Pavan Kumar

About

A premium full-stack Food Delivery App built with the MERN stack (MongoDB, Express, React, Node.js). Features a stunning glassmorphism UI, secure authentication with Clerk, smooth AOS animations, and a dynamic Admin Dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors