Skip to content

janavigopu/Hotel-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🏨 Hotel Management System – Java, JDBC, MySQL

A console-based hotel reservation system that allows users to book, update, view, and delete room reservations using a dynamic CLI interface.
Built with Java and JDBC, integrated with MySQL for data persistence.


πŸš€ Features

  • βœ… Reserve a room by entering guest details and room number
  • πŸ” View all current reservations in a clean tabular format
  • πŸ” Retrieve room number using reservation ID and guest name
  • ✏️ Update existing reservations with new details
  • πŸ—‘οΈ Delete reservations securely
  • πŸ’Ύ MySQL database integration using JDBC
  • πŸ–₯️ User-friendly console interface with input validation

πŸ› οΈ Tech Stack

  • Language: Java
  • Database: MySQL
  • Connector: JDBC
  • IDE: Eclipse / IntelliJ
  • Design: Modular methods for each feature

πŸ§ͺ Sample Table Structure (setup.sql)

CREATE TABLE RESERVATIONS (
  ID INT AUTO_INCREMENT PRIMARY KEY,
  GUEST VARCHAR(50),
  ROOM INT,
  CONTACT VARCHAR(20),
  DATE TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

πŸ’‘ Future Enhancements

🌐 GUI-based frontend using JavaFX or Swing

πŸ“… Room availability calendar

πŸ“Š Reports & analytics dashboard

πŸ“© Email/SMS reservation confirmation system


πŸ‘©β€πŸ’» Author

Janavi Gopu

πŸ”— Github

πŸ”— LinkedIn


πŸ“œ License

This project is open-source and available under the MIT License.

About

A Java-based console application that manages hotel room reservations with real-time CRUD operations. Built using JDBC and MySQL, this system enables users to reserve, update, view, and delete bookings efficiently via a user-friendly CLI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages