Skip to content

Jacooooooob/Bike_Rental_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bike Rental System

The Bike Rental System is a straightforward Java application designed to facilitate the process of renting and returning bikes for users. This project includes two versions: a Graphical User Interface (GUI) version for those who prefer a visual interface, and a Command-Line Interface (CLI) version for users who are more comfortable with terminal commands.

Features

  • Graphical User Interface (GUI): Offers an intuitive graphical interface where users can rent or return bikes by clicking buttons and filling out text fields.
  • Command-Line Interface (CLI): Provides a simple command-line interface suitable for users accustomed to terminal usage.
  • Dynamic Inventory Management: Real-time tracking of the current number of available bikes.
  • Cost Calculation: Automatically calculates the rental cost based on the rental duration.

Getting Started

Prerequisites

Ensure your machine has the Java Development Kit (JDK) installed, version 1.8 or higher.

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/yourusername/bike-rental-system.git
  2. Navigate to the project directory:
    cd bike-rental-system

Running the Application

  • To run the GUI version:
    javac GUI.java
    java GUI
  • To run the CLI version:
    javac rentalBike.java
    java rentalBike

Usage

  • For the GUI version: Launch the application and follow the on-screen prompts.
  • For the CLI version: Launch the application and follow the instructions in the console.

Project Completion Date

December 2021

Releases

No releases published

Packages

No packages published

Languages