Skip to content

Harshal-25C/QuickSlot_H_C_

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Reservation System

This is a simple Java application for an Online Reservation System, developed by Harshal-25c.

Introduction :

This project provides a Basic Implementation of an Online Reservation System that allows users to perform various operations such as Adding, Deleting, and Viewing Reservations. It uses MySQL database for data storage and JDBC for database connectivity.

Features :

  • User authentication : Users can log in using their MySQL username and MySQL password.
  • CRUD operations : Users can perform CRUD operations (Create, Read, Update, Delete) on reservations.
  • Randomly generated PNR numbers for each reservation.
  • Easy-to-use command-line interface.

Requirements :

Ensure you have installed These on your system

Installation :

(1). Set up the MySQL database :

  • Create a database named 'harshal' (you can change this in the code).
  • Import the SQL script provided in the repository to create the necessary table (reservations).

(2). Configure the database connection :

  • Open the Task_1.java file.
  • Modify the url , username , and password variables in the main method according to your MySQL database configuration.

(3). Compile and run the application :

javac Task_1.java
java Task_1

MySQL Database :

Harsh1

Usage :

  • Run the Application.
  • Log in using your MySQL username and password.

Choose an option from the menu :

  1. Insert Record
  2. Delete Record
  3. Show All Records
  4. Exit

Contributing :

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

LICENSE :

MIT License

MIT License

Copyright (c) 2024 Harshal Choudhary

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages