Skip to content

Viswaksena-J/Scalar-Hotel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scaler Hotel - Admin Room Management System

Vercel App: https://scalar-hotel.vercel.app/

Tech Stack

MERN Stack

MongoDB Express.js React Nodejs

Frontend

HTML CSS3 Tailwind Bootstrap

Development Environment

VSCode Git Vercel EmailJS

Scaler Hotel

Description

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.

Features

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.

Extra Functionalities

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.

Technologies Used

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.

How to run

Steps

  1. Clone the repository
https://github.com/Viswaksena-J/Scalar-Hotel.git
  1. Change MongoDB connect URL.
"mongodb+srv://sushanth123:sushanth123@<password>.apxwy1f.mongodb.net/?retryWrites=true&w=majority"
  1. Open terminal and run the following commands
cd Scalar-Hotel/backend
npm i
npm start
  1. Open new terminal and run the following commands
cd Scalar-Hotel/frontend
npm i
npm start

Scalar Hotel Screenshots

Homepage

Homepage

Room Details

Homepage

Room Booking

Homepage

View Booking Details

Homepage

Edit Booking Details

Homepage

Email Notification

Homepage