Skip to content

muhammed-rishad-c/hotel-booking-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotel Booking Application

Welcome to the Hotel Booking Application repository! This project allows users to add hotels to their wishlist, book hotels, view their order history, and delete items from their wishlist. On the admin side, administrators can upload, update, delete hotels, and view the order list.

Features

User Features

  • Add to Wishlist: Users can add hotels to their wishlist for future reference.
  • Book Hotels: Users can book hotels directly through the application.
  • Order History: Users can view their past bookings and order history.
  • Delete from Wishlist: Users can remove hotels from their wishlist once they're no longer interested.

Admin Features

  • Upload Hotels: Administrators can upload new hotels with photos and details.
  • Update Hotels: Administrators can update hotel information and photos.
  • Delete Hotels: Administrators can remove hotels from the listing.
  • View Order List: Administrators can view all user orders and manage bookings.

Technologies Used

  • Frontend: HTML, CSS, JavaScript
  • Backend: Node.js, Express.js
  • Database: PostgreSQL
  • File Storage: Cloudinary (or any preferred cloud storage service for storing photos)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/hotel-booking-application.git
  2. Navigate to the project directory:

    cd hotel-booking-application
  3. Install the dependencies:

    npm install
  4. Set up the PostgreSQL database:

    • Create a new PostgreSQL database.
    • Update the database configuration in config.js.
  5. Set up Cloud Storage (for photo uploads):

    • Create an account with your preferred cloud storage service.
    • Update the cloud storage configuration in config.js.
  6. Start the application:

    node app.js

Usage

User Guide

  • Adding to Wishlist: Browse hotels and click the "Add to Wishlist" button to save them.
  • Booking Hotels: Select a hotel and follow the booking process to confirm your reservation.
  • Viewing Order History: Navigate to your profile and check the "Order History" section to see past bookings.
  • Deleting from Wishlist: Go to your wishlist and remove hotels you're no longer interested in.

Admin Guide

  • Uploading Hotels: Use the admin dashboard to upload new hotels with photos and details.
  • Updating Hotels: Find the hotel you want to update and make necessary changes.
  • Deleting Hotels: Remove hotels from the listing via the admin dashboard.
  • Viewing Order List: Access the order list in the admin panel to manage user bookings.

Contributing

We welcome contributions! Please fork this repository, make your changes, and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

Feel free to reach out if you have any questions or suggestions!

Thank you for checking out the Hotel Booking Application. Happy booking!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors