/Hotel-Booking-App---MERN

This is a full-stack Hotel Booking Application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. It allows users to browse hotels, view details, make reservations, and manage bookings.

Primary LanguageJavaScript

Hotel Booking App - MERN

This is a full-stack Hotel Booking Application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. It allows users to browse hotels, view details, make reservations, and manage bookings.

Features

  • User Authentication: Secure user registration and login functionality.
  • Browse Hotels: Users can explore various hotels with detailed information and images.
  • Search and Filter: Search functionality to find hotels based on location, amenities, etc.
  • Booking Management: Users can make, view, and cancel bookings.
  • Admin Panel: Separate dashboard for hotel administrators to manage hotel details and bookings.
  • Responsive Design: The app is optimized for various screen sizes and devices.

Technologies Used

  • MongoDB: NoSQL database for storing hotel and user data.
  • Express.js: Node.js framework for building the backend RESTful APIs.
  • React.js: Frontend library for building interactive user interfaces.
  • Node.js: JavaScript runtime for server-side development.
  • Bootstrap: Frontend framework for responsive design and UI components.

Getting Started

  1. Clone the repository:

    git clone <repository-url>
  2. Navigate to the project directory and install dependencies:

    cd Hotel-Booking-App/client
    cd Hotel-Booking-App/api
    cd Hotel-Booking-App/admin
    npm install
  3. Set up MongoDB and update the connection string in the backend configuration.

  4. Start the backend server:

    cd api
    npm start
  5. Start the frontend development server:

    cd client
    npm start

Admin Section

  1. Start the admin development server:

    cd admin
    npm start
  2. Access the application in your browser at http://localhost:3000.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you find any bugs or have suggestions for improvements.