Skip to content

Metsehafe-Eyasu/food-ordering-app-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Food Ordering App V2

This is a food ordering app that allows users to order food from a restaurant. The app is built using Java Swing for the client-side and MySQL for the server-side.

Features

  • Client-side: Java Swing GUI for easy and interactive food ordering.
  • Server-side: Java-based server with MySQL database for data management.
  • Socket-based connection for seamless communication between client and server.

Tech Stack

  • Client-side:
    • Java Swing
  • Server-side:
    • Java
    • MySQL

Getting Started

Prerequisites

To run this project locally, you'll need:

  • Java Development Kit (JDK)
  • MySQL
  • GSON package

Installation

  1. Clone the repository:
git clone https://github.com/Metsehafe-Eyasu/food-ordering-app-v2
  1. Set up the MySQL database:

    • Create a new database and import the provided SQL dump.
  2. Compile and run the server-side:

cd server
javac Server.java
java Server
  1. Compile and run the client-side:
cd client
javac Client.java
java Client

Usage

1. Login and Registration

  • Open the application.
  • Click on the "Login" button if you have an account, or "Register" to create a new one.
  • Provide the required credentials and submit.

2. Manage Food Items

  • Use the options to:
    • Add a new food item.
    • Update existing food items.
    • Delete food items.
    • View the list of available food items.

3. Place Order

  • Browse through the menu of available food items.
  • Select the items you want to order and add them to your cart.
  • Proceed to the "Cart" section.
  • Confirm your order and submit.

4. View Order

  • You can view your order history in the "History" section.
  • This will display a list of all orders you've placed along with their details.

5. View Profile

  • Access your user profile by clicking on the "Profile" option.
  • Here, you can view and edit your personal information.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

We would like to acknowledge the following resources and tools that were used in the development of this project:

About

Java project using Swing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages