Skip to content

mohitkco/zomato-clone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zomato-clone

How to Run the Project – Full Setup (Frontend + Admin + Backend)

This project contains three parts:

  • Frontend (User website)
  • Admin Panel
  • Backend Server (API + Database)

Follow the steps below to run the complete system.


1. Requirements

Before running the project, install:

  • Node.js

2. Extract the Project

Unzip the project folder: Inside it you will see:

/backend
/frontend
/admin

🚀 Backend Setup

3. Install Backend Dependencies

Open terminal and run:

cd backend
npm install

4. Setup Environment Variables

Inside the backend folder, create a .env file:

JWT_SECRET=your_secret_key
STRIPE_SECRET_KEY=your_stripe_key

5. Start Backend Server

npm start

The backend will run on:

http://localhost:4000

🎨 Frontend (User App) Setup

6. Install Frontend Dependencies

Open new terminal:

cd frontend
npm install

7. Start Frontend

npm run dev

Frontend will run on:

http://localhost:5173

🛠️ Admin Panel Setup

8. Install Admin Panel Dependencies

cd admin
npm install

9. Start Admin Panel

npm run dev

Admin panel will open at:

http://localhost:5174

✔️ 10. Project Usage

  • Frontend: Users can explore menu, add items to cart, place orders, and make payments using Stripe.
  • Admin Panel: Admin can add food items, view food list, manage orders, and update order status.
  • Backend: Handles authentication, food management, cart operations, order processing, and Stripe payments.

🏁 Project Successfully Running

Once all three terminals are running:

Your full Zomato Clone system is ready to use.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.4%
  • CSS 21.7%
  • HTML 0.9%