Skip to content

The Hotel Reservation Management System utilizes MongoDB, Express, React.js, and Node.js to provide a user-friendly booking experience and efficient hotel management for administrators and customers.

Notifications You must be signed in to change notification settings

Yeshmantha/Hotel-Reservation-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotel Reservation Management System

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.

Key Features

  • 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.

Technologies Used

  • Backend - Node.js with Express.js
  • Frontend - React.js
  • Database - MongoDB
  • API Testing - Insomnia

How to Install and Run the Project

Prerequisites

  • Node.js and npm
  • MongoDB

Backend (Node.js and Express.js)

  1. Clone the repository:
    git clone https://github.com/it21223976/Hotel-Reservation-Management-System.git
  2. Navigate to the backend directory:
    cd Hotel-Reservation-Management-System/api
  3. Install the dependencies:
    npm install
  4. Create a .env file in the backend directory and add your MongoDB URI and other environment variables:
    MONGO_URI=your_mongodb_uri
    JWT=secret key
  5. Start the backend server:
    npm start

Frontend (React.js)

  1. Navigate to the frontend directory:
    cd ../client
  2. Install the dependencies:
    npm install
  3. Start the React application:
    npm start

Admin Panel

  1. Navigate to the frontend directory:
    cd ../admin
  2. Install the dependencies:
    npm install
  3. Start the React application:
    npm start

Tests

Backend

  1. Navigate to the backend directory:
    cd Hotel-Reservation-Management-System/api
  2. Run the tests:
    npm test

Frontend

  1. Navigate to the frontend directory:
    cd ../client
  2. Run the tests:
    npm test

Admin Panel

  1. Navigate to the frontend directory:
    cd ../admin
  2. Run the tests:
    npm test

How to Contribute to the Project

  1. Fork the repository.
  2. Create your feature branch:
    git checkout -b feature/YourFeature
  3. Commit your changes:
    git commit -m 'Add some feature'
  4. Push to the branch:
    git push origin feature/YourFeature
  5. Open a pull request.

About

The Hotel Reservation Management System utilizes MongoDB, Express, React.js, and Node.js to provide a user-friendly booking experience and efficient hotel management for administrators and customers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published