Skip to content

Latest commit

 

History

History
67 lines (54 loc) · 3.15 KB

File metadata and controls

67 lines (54 loc) · 3.15 KB

Restaurant Management System

Project Logo

Welcome to the Restaurant Management System project! This system is designed to help restaurant owners manage their orders and menu items efficiently. Whether you run a small café or a large restaurant, this system can simplify your daily operations.

Table of Contents

Features

  • User Authentication: Secure user registration and login using bcrypt for password hashing and JWT (JSON Web Tokens) for authentication.
  • Responsive Design: A responsive web application built using React and Tailwind CSS, ensuring a seamless experience on various devices.
  • Menu Management: Categorize and manage restaurant menu items easily.
  • Order Management: Users can view their orders and add items to their cart.
  • API Testing: Utilizes Thunder Client for verifying API endpoints.

Screens

  1. Login: Users can log in to their accounts.
  2. Signup: New users can create an account.
  3. My Orders: Users can view their order history.
  4. Add to Cart: Allows users to add items to their cart.
  5. Main Screen: Displays categories of menu items.

Database

The project uses MongoDB Atlas to store data. There are two main collections:

  1. Category Data: Contains information about available categories (e.g., starters, pizza, rice).
  2. Items Data: Contains information about the available items related to categories.

API

The project's API endpoints include:

  • /api/signup: Allows new users to register and stores their information securely in the database.
  • /api/login: Provides secure login functionality with authentication tokens.
  • /api/categories: Fetches and manages category data.
  • /api/items: Handles menu item data.
  • /api/orders: Manages user orders.

Installation

  1. Clone the repository: git clone https://github.com/yourusername/restaurant-management-system.git
  2. Change directory to the project folder: cd restaurant-management-system
  3. Install the required dependencies: