Vercel App: https://scalar-hotel.vercel.app/
This project is a complete admin-facing solution for managing rooms in a hotel. It allows hotel administrators to efficiently handle room bookings, modifications, cancellations, and viewing bookings with various filtering options.
Room Booking: Admins can book rooms by specifying user email, room number, start time, and end time. The pricing updates dynamically based on the selected room and time duration.
Edit Booking: Admins can edit booking details such as user email, room number, start time, and end time, with corresponding confirmation on updated pricing.
Cancellation Policy: Admins can cancel bookings with different refund policies:
- If the booking start time is more than 48 hours away, a complete refund is provided.
- If the booking start time is within 24 to 48 hours, a 50% refund is provided.
- Otherwise, no refund is issued, but the admin can still cancel the booking.
View Bookings: Admins can view all bookings, including upcoming and past ones, with filtering options based on room number, room type, start time, and end time.
Email Notifications: Automatic email notifications are sent to users upon booking, containing the details of their reservation.
Responsive Design: The application is designed to be responsive, ensuring optimal user experience across different devices and screen sizes.
Frontend: Single Page Application (SPA) developed using HTML, CSS, and Bootstrap.
Backend: Utilizes a MongoDB database and a Nodejs as a server-side language for handling CRUD operations and business logic.
- Clone the repository
https://github.com/Viswaksena-J/Scalar-Hotel.git
- Change MongoDB connect URL.
"mongodb+srv://sushanth123:sushanth123@<password>.apxwy1f.mongodb.net/?retryWrites=true&w=majority"
- Open terminal and run the following commands
cd Scalar-Hotel/backend
npm i
npm start
- Open new terminal and run the following commands
cd Scalar-Hotel/frontend
npm i
npm start