Skip to content

Repository files navigation

RestaurantCustomer 🍽️

This is the frontend application for a restaurant system that supports features like dish browsing, cart management, takeaway and dine-in orders, and payment integration. Built using Next.js and Redux Toolkit, this app provides a seamless customer interface for placing and managing orders.

🚀 Features

  • 🧾 View categories and dishes
  • 🛒 Add and remove items from the cart
  • 🧍 Customer login and registration
  • 🍽️ Book tables for dine-in
  • 🥡 Place takeaway orders
  • 💳 eSewa payment integration
  • 📦 Order history and order tracking
  • 🎨 Responsive UI for mobile and desktop

🛠️ Tech Stack

  • Frontend: Next.js, React, Redux Toolkit, Axios, Tailwind CSS
  • State Management: Redux Toolkit
  • Routing: Next.js App Router
  • Payment: eSewa (Nepal)
  • Date Picker: MUI DateCalendar

🧪 Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn

Installation

git clone https://github.com/Bipana-Rai/ResturantCustomer.git
cd ResturantCustomer
npm install

Running the App

npm run dev

🔐 Environment Variables

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

NEXT_PUBLIC_BASE_URL=http://your-backend-api-url
NEXT_PUBLIC_ESEWA_CLIENT_ID=your-esewa-client-id

📁 Project Structure

ResturantCustomer/
│
├── app/                   # Next.js app directory
├── components/            # Reusable components
├── redux/                 # Redux slices and store
├── services/              # Axios API services
├── utils/                 # Helper functions
└── public/                # Static assets

📸 Screenshots

Login

Login

🏠 menu

menu

ordered item receit

ordered item receit

Payment Method

Payment Method

Esewa integration

Esewa integration

Table Booking

Table Booking

🧑‍💻 Author

📝 License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages