Skip to content

Latest commit

Β 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Online Food Delivery System Banner

πŸ” Online Food Delivery System

A Java Desktop Application for managing online food ordering, payment processing, and delivery operations with secure role-based access and MySQL database integration.


πŸ“– About The Project

The Online Food Delivery System is a desktop-based application developed using Java Swing and MySQL. It simulates the workflow of an online food ordering platform by providing dedicated modules for Customers, Owners, and Delivery Personnel.

The system enables customers to browse food items, place orders, and make payments. Restaurant owners can manage menus, monitor orders, and track payments, while delivery personnel update delivery status to ensure smooth order fulfillment.

The project demonstrates practical implementation of Java Object-Oriented Programming, JDBC connectivity, GUI development, authentication, CRUD operations, and database management.


✨ Features

πŸ‘€ Customer Module

  • Secure Login & Registration
  • Browse Food Menu
  • Place Orders
  • Select Payment Mode
  • View Order Details
  • Track Order Status

πŸ›’ Owner Module

  • Admin Authentication
  • Add Food Items
  • Update Menu
  • Remove Food Items
  • Manage Orders
  • Track Customer Payments
  • Assign Delivery Personnel

🚚 Delivery Module

  • Secure Login
  • View Assigned Orders
  • Update Delivery Status
  • Track Delivery Progress

πŸ’³ Payment System

  • Payment Status Tracking
  • Order Payment Records
  • Integrated with Order Management

πŸ—„οΈ Database

  • MySQL Database Integration
  • Persistent Data Storage
  • JDBC Connectivity

πŸ“Έ Screenshots

Login Owner Dashboard
Customer Panel Delivery Panel

πŸ“‘ Table of Contents

  • About
  • Features
  • Tech Stack
  • System Modules
  • Project Architecture
  • Database Schema
  • Folder Structure
  • Installation
  • Database Setup
  • Usage
  • Future Enhancements
  • Contributing
  • License
  • Author

πŸ›  Tech Stack

Technology Purpose
Java Application Development
Java Swing Graphical User Interface
JDBC Database Connectivity
MySQL Database
JCalendar Date Picker
VS Code / Eclipse Development Environment

🧩 System Modules

πŸ‘€ Customer

  • Register Account
  • Login
  • Browse Menu
  • Place Food Orders
  • Make Payments
  • Track Orders

πŸ›’ Owner

  • Login as Administrator
  • Manage Food Menu
  • View Orders
  • Track Payments
  • Assign Delivery Personnel

🚚 Delivery Person

  • Login
  • View Assigned Deliveries
  • Update Delivery Status
  • Complete Orders

πŸ— Project Architecture

                     User

                       β”‚

        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚              β”‚              β”‚

   Customer        Owner(Admin)   Delivery Person

        β”‚              β”‚              β”‚

        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚

                Java Swing GUI

                       β”‚

                  Business Logic

                       β”‚

                    JDBC Driver

                       β”‚

                 MySQL Database

πŸ—„ Database

The project uses MySQL as the backend database.

Database Tables

Table Description
signup Customer Personal Information
signupTwo Customer Additional Details
signupThree Customer Login Credentials
login User Authentication
admin Administrator Credentials
foodMenu Food Menu Items
delivery_person Delivery Personnel
orders Customer Orders

The complete SQL script is available inside:

database/
└── online_food_delivery_system.sql

πŸ“‚ Project Structure

OnlineFoodDeliverySystem
β”‚
β”œβ”€β”€ assets
β”‚   β”œβ”€β”€ banner
β”‚   └── screenshots
β”‚
β”œβ”€β”€ database
β”‚   └── online_food_delivery_system.sql
β”‚
β”œβ”€β”€ lib
β”‚   β”œβ”€β”€ mysql-connector-java-8.0.28.jar
β”‚   └── jcalendar-tz-1.3.3-4.jar
β”‚
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ FoodApp.java
β”‚   β”œβ”€β”€ LoginWindow.java
β”‚   β”œβ”€β”€ Menu.java
β”‚   β”œβ”€β”€ ownerInterface.java
β”‚   β”œβ”€β”€ DeliveryPersonPanel.java
β”‚   β”œβ”€β”€ AddDeliveryPerson.java
β”‚   β”œβ”€β”€ Conn.java
β”‚   β”œβ”€β”€ signupOne.java
β”‚   β”œβ”€β”€ signupTwo.java
β”‚   └── signupThree.java
β”‚
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
└── .gitignore

πŸš€ Getting Started

Clone Repository

git clone https://github.com/TanmayT134/OnlineFoodDeliverySystem.git

Navigate to Project

cd OnlineFoodDeliverySystem

Import into IDE

Open the project in your preferred Java IDE such as:

  • Eclipse
  • IntelliJ IDEA
  • VS Code

βš™ Database Setup

  1. Install MySQL.
  2. Create a database named:
onlinefooddeliverysystem
  1. Import the SQL script located in:
database/online_food_delivery_system.sql
  1. Update your MySQL username and password in:
src/Conn.java
  1. Run the project.

β–Ά Usage

  • Register a customer account.
  • Login as Customer to browse food and place orders.
  • Login as Admin to manage menus and orders.
  • Add delivery personnel.
  • Assign deliveries.
  • Track delivery status.

πŸš€ Future Enhancements

  • Online Payment Gateway Integration
  • Email Notifications
  • SMS Notifications
  • Customer Reviews & Ratings
  • Order History
  • Search & Filter Menu
  • Coupon & Discount System
  • Live Order Tracking
  • Mobile Application
  • REST API Backend
  • Cloud Database Integration

🀝 Contributing

Contributions are welcome.

  1. Fork the repository.
  2. Create a feature branch.
  3. Commit your changes.
  4. Push the branch.
  5. Open a Pull Request.

πŸ‘¨β€πŸ’» Author

Tanmay Tawade

If you found this project helpful, consider giving it a ⭐ on GitHub.


⭐ Star this repository if you found it useful!

Made with ❀️ by Tanmay Tawade

About

Java Swing & MySQL based Online Food Delivery System featuring secure authentication, role-based access, menu management, order processing, payment tracking, and delivery management.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages