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.
- 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.
- 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.
- Frontend: HTML, CSS, JavaScript
- Backend: Node.js, Express.js
- Database: PostgreSQL
- File Storage: Cloudinary (or any preferred cloud storage service for storing photos)
-
Clone the repository:
git clone https://github.com/your-username/hotel-booking-application.git
-
Navigate to the project directory:
cd hotel-booking-application -
Install the dependencies:
npm install
-
Set up the PostgreSQL database:
- Create a new PostgreSQL database.
- Update the database configuration in
config.js.
-
Set up Cloud Storage (for photo uploads):
- Create an account with your preferred cloud storage service.
- Update the cloud storage configuration in
config.js.
-
Start the application:
node app.js
- 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.
- 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.
We welcome contributions! Please fork this repository, make your changes, and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to reach out if you have any questions or suggestions!
- Email: youremail@example.com
- GitHub: muhammed-rishad-c
Thank you for checking out the Hotel Booking Application. Happy booking!