Skip to content

AbiNash1017/Restaurant-Billing-system-java

Repository files navigation

Amrita Food Ordering System

Overview

The Amrita Food Ordering System is a Java Swing desktop application that simulates a simple restaurant ordering workflow. It allows customers to select menu items, specify quantities, and place orders while automatically calculating discounts and generating a detailed bill. Administrators can log in to view daily revenue statistics.

Features

  • Interactive GUI built with Java Swing.
  • Dynamic image carousel showcasing screenshots.
  • Menu selection with quantity spinners for each item.
  • Automatic discount calculation (5%, 10%, 20% based on total).
  • Bill generation saved as a timestamped text file.
  • Admin login to view and accumulate daily revenue.
  • Revenue persistence across sessions.

Screenshots

Welcome & Image Carousel

Menu Selection

Order Confirmation

Admin Revenue View

Installation

  1. Prerequisites
    • Java Development Kit (JDK) 8 or higher.
    • An IDE or text editor (e.g., IntelliJ IDEA, VS Code).
  2. Clone the repository (or copy the project folder to your machine).
  3. Compile the source code:
    javac AmritaFoodOrderingSystem.java
  4. Run the application:
    java AmritaFoodOrderingSystem

Usage

  • Customer Flow:

    1. Enter the customer's name.
    2. Select desired menu items and quantities.
    3. Click Place Order to see the order summary with discounts.
    4. A bill file is generated under the revenue/ folder.
  • Admin Flow:

    1. Click Admin Login and enter the password (admin123).
    2. View today's total revenue and cumulative net revenue.

Contributing

Contributions are welcome! Feel free to fork the repository, make improvements, and submit a pull request. Please follow these guidelines:

  • Keep code style consistent (use proper indentation and naming conventions).
  • Update the README if you add new features.
  • Ensure the application builds and runs on a fresh JDK installation.

License

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

About

A mini project in Java Swing desktop application that simulates a simple restaurant ordering workflow.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages