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.
- 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.
- 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.
-
Clone the repository:
git clone <repository-url>
-
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
-
Set up MongoDB and update the connection string in the backend configuration.
-
Start the backend server:
cd api npm start
-
Start the frontend development server:
cd client npm start
-
Start the admin development server:
cd admin npm start
-
Access the application in your browser at
http://localhost:3000
.
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.