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.
- 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.
- Rate and review orders
- Client-side:
- Java Swing
- Server-side:
- Java
- MySQL
To run this project locally, you'll need:
- Java Development Kit (JDK)
- MySQL
- GSON package
- Clone the repository:
git clone https://github.com/Metsehafe-Eyasu/food-ordering-app-v2
-
Set up the MySQL database:
- Create a new database and import the provided SQL dump.
-
Compile and run the server-side:
cd server
javac Server.java
java Server
- Compile and run the client-side:
cd client
javac Client.java
java Client
- 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.
- Use the options to:
- Add a new food item.
- Update existing food items.
- Delete food items.
- View the list of available food items.
- 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.
- 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.
- Navigate to the order history page to see past orders.
- Click on the "Leave a Review" button to rate and review an order.
- Access your user profile by clicking on the "Profile" option.
- Here, you can view and edit your personal information.
This project is licensed under the MIT License - see the LICENSE file for details.
We would like to acknowledge the following resources and tools that were used in the development of this project: