Skip to content

Eraytrn/FoodOrderingSignalR

Repository files navigation

QR Ordering System

This project is a modern ordering system developed using SignalR technology.
Currently, the system allows customers to select an available table from the table list page and place their orders from there.

⚠️ Note: Although the infrastructure for QR Code-based ordering exists, the system is not yet live in a real restaurant environment. Therefore, orders are not managed via QR codes at the moment. In a live scenario, each table would have a unique QR code, and customers would access the menu by scanning it.


🚀 Features

  • Table Management: Customers choose from available tables
  • Real-Time Updates: Instant order tracking with SignalR
  • N-tier Architecture: Multi-layered structure
  • Entity Framework: Database operations
  • QR Code Infrastructure (Future-Ready): Designed for QR code-based usage, but currently inactive

🏗️ Project Structure

QROrderingSystemwithSignalR/
├── SignalRApi/                 # Web API Project
├── SignalRWebUI/               # Web Interface
├── SignalR.BusinessLayer/      # Business Logic Layer
├── SignalR.DataAccessLayer/    # Data Access Layer
├── SignalR.EntityLayer/        # Entity Layer
└── SignalR.DtoLayer/           # DTO Layer

🛠️ Technologies

  • .NET 6/7
  • ASP.NET Core Web API
  • ASP.NET Core MVC
  • SignalR
  • Entity Framework Core
  • SQL Server
  • Bootstrap
  • jQuery

📋 Requirements

  • .NET 6.0 or higher
  • SQL Server
  • Visual Studio 2022 (recommended)

⚙️ Installation

  1. Clone the project:
git clone https://github.com/your-username/QROrderingSystemwithSignalR.git
  1. Update the database connection string in the DataAccessLayer/Concrete/SignalRContext file

  2. Run migrations in the Package Manager Console:

Update-Database
  1. Run the project:
dotnet run

🔧 Configuration

Configure the following settings in the DataAccessLayer/Concrete/SignalRContext file:

{
  "ConnectionStrings": {
    "DefaultConnection": "Server=your-server;Initial Catalog=QROrderingDB;Integrated Security=True;TrustServerCertificate=true;"
  }
}

📱 Usage

  1. Table Selection: Customers select an available table from the table list page
  2. Customer Order: Place orders linked to the chosen table
  3. Real-Time Tracking: Orders are updated instantly via SignalR
  4. Future QR Code Integration: In live restaurant use, each real table will have a QR code that redirects customers directly to their table’s order screen
  5. Admin Panel: Manage and track orders

Roadmap

** Enable real QR Code integration for live environments**

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors