The Hotel Reservation Management System aims to provide a seamless booking experience for users, while enabling efficient and effective hotel management. This system allows users to browse and book hotel rooms, while administrators can manage hotel information, update data, generate reports, and ensure smooth operation. Developed using MongoDB, Express, React.js, and Node.js, the system ensures that both administrators and customers have a user-friendly and secure platform.
-
Admin Management
- Managing hotel information: Ensure all hotel-related data is accurate and up-to-date.
- Updating new hotel information: Add new rooms, services, and promotions.
- Deleting hotel information: Remove obsolete data from the database.
- Report generation: Generate reports on occupancy rates, earnings, and labor productivity.
-
Customer Management
- Viewing hotel information: Browse and compare hotels based on preferences and needs.
- Reserving hotels: Make reservations and rate stays.
- Backend - Node.js with Express.js
- Frontend - React.js
- Database - MongoDB
- API Testing - Insomnia
- Node.js and npm
- MongoDB
- Clone the repository:
git clone https://github.com/it21223976/Hotel-Reservation-Management-System.git
- Navigate to the backend directory:
cd Hotel-Reservation-Management-System/api - Install the dependencies:
npm install
- Create a
.envfile in the backend directory and add your MongoDB URI and other environment variables:MONGO_URI=your_mongodb_uri JWT=secret key
- Start the backend server:
npm start
- Navigate to the frontend directory:
cd ../client - Install the dependencies:
npm install
- Start the React application:
npm start
- Navigate to the frontend directory:
cd ../admin - Install the dependencies:
npm install
- Start the React application:
npm start
- Navigate to the backend directory:
cd Hotel-Reservation-Management-System/api - Run the tests:
npm test
- Navigate to the frontend directory:
cd ../client - Run the tests:
npm test
- Navigate to the frontend directory:
cd ../admin - Run the tests:
npm test
- Fork the repository.
- Create your feature branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature/YourFeature
- Open a pull request.