Skip to content

FilbertNg/Apurva-Hotel-Management-System

Repository files navigation

Apurva Hotel Management System

Apurva Hotel Management System is a console-based hotel management program written in C, designed to support multiple user roles: Admin, Employee, and Customer. The system allows hotel room bookings for any day within a 365-day window, complete with persistent storage for user accounts, booking history, and room data.


🔧 Features

  • Multi-user support: Admin, Employee, and Customer roles
  • Bookings per room per day (up to 365 days in advance)
  • Account management and login system
  • Persistent data stored in .txt files
  • Easy navigation via terminal interface

📁 File Requirements

To run this project successfully, ensure all the following files are in the same folder:

- main.c
- common.h
- date_function.h
- admin_menu.h
- employee_menu.h
- customer_menu.h
- accommodation_data.txt
- history.txt
- employee.txt
- customers.txt
- default_day.txt
- room_description.txt
- room_details.txt

▶️ Running the Program

  1. Open the project folder in Visual Studio Code or your preferred C IDE.
  2. Run the file: main.c.
  3. For optimal viewing, maximize your terminal window and hide the file explorer in VS Code for cleaner output formatting.

🔐 Default Accounts

You are encouraged to register your own employee and customer accounts for a smoother experience.

Admin Account

  • ID : admin
  • Password : password

Employee Account

  • ID : emp001
  • Password : admin123

Other employee accounts can be found in employee.txt.

Customer Account

  • ID : cust008
  • Password : apurva123

Other customer accounts can be found in customers.txt, but some were created for testing and may have mismatched data.


🗃️ Developer Notes

For developers modifying or analyzing this project, the following file roles may be useful:

  • history.txt – stores all booking history
  • customers.txt – stores all customer accounts
  • employee.txt – stores all employee accounts
  • accommodation_data.txt – stores current room availability
  • room_description.txt & room_details.txt – provide info per room type
  • default_day.txt – stores system date marker

⚠️ DO NOT edit these .txt files manually, as it may corrupt the system or cause data mismatches.


Credits


🙏 Thank You

Thank you for using Apurva Hotel Management System! We hope this project offers a helpful demonstration of basic hotel management logic in C.

Feel free to explore, register, and test different roles. Enjoy the system!

About

Console-based hotel management program written in C

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages