Skip to content

vickysingh009/hotel-booking-

Repository files navigation

React Hotel Booking System Project 🏨

Welcome to the React Hotel Booking System Project! This project is designed to help you build a complete hotel room booking system using modern web technologies. With this system, you can manage bookings, view available rooms, and provide a seamless experience for users.

Table of Contents

Introduction

In today’s digital age, having a reliable hotel booking system is crucial for managing reservations efficiently. This project utilizes a combination of React.js, Next.js, Redux.js, Node.js, Express.js, MongoDB, Tailwind CSS, and Ant Design to create a fully functional hotel booking system.

This project not only showcases the power of these technologies but also serves as a practical example for developers looking to enhance their skills in full-stack development.

Technologies Used

This project employs the following technologies:

  • React.js: A JavaScript library for building user interfaces.
  • Next.js: A React framework for server-side rendering and static site generation.
  • Redux.js: A state management library for JavaScript applications.
  • Node.js: A JavaScript runtime built on Chrome's V8 engine.
  • Express.js: A web application framework for Node.js.
  • MongoDB: A NoSQL database for storing data.
  • Tailwind CSS: A utility-first CSS framework for styling.
  • Ant Design: A design system for enterprise-level products.

Features

  • User Authentication: Secure login and registration for users.
  • Room Management: Add, edit, and delete hotel rooms.
  • Booking System: Users can search for available rooms and make bookings.
  • Responsive Design: Works seamlessly on various devices.
  • Admin Dashboard: Manage users and bookings from an admin panel.
  • Search Functionality: Users can filter rooms based on various criteria.
  • Payment Integration: Support for online payments (mocked for this project).

Installation

To set up the project locally, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/ronmattss2/React-HotelBooking-SYSTEM-Project.git
  2. Navigate to the Project Directory:

    cd React-HotelBooking-SYSTEM-Project
  3. Install Dependencies:

    For the client:

    cd client
    npm install

    For the server:

    cd server
    npm install
  4. Set Up Environment Variables:

    Create a .env file in the server directory and add your MongoDB connection string and other necessary configurations.

  5. Run the Application:

    Start the server:

    cd server
    npm start

    Start the client:

    cd client
    npm start

Now, you can access the application at http://localhost:3000.

Usage

Once the application is running, you can navigate through the following functionalities:

  • User Registration and Login: Create an account or log in to your existing account.
  • Browse Rooms: View available rooms and their details.
  • Make a Booking: Select a room and book it.
  • Admin Features: Access the admin dashboard to manage rooms and bookings.

For more detailed instructions, refer to the documentation in the docs folder.

Contributing

We welcome contributions to this project! If you would like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request.

Please ensure your code follows the existing style and includes appropriate tests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors