Hotel Booking App
This is a hotel booking app that allows users to browse popular hotels, view their pictures, and make bookings. It's built using ReactJS for the frontend, Node.js and Express for the API, and MongoDB for the database. Features.
Browse and search for popular hotels
View high-quality pictures of hotels
Make hotel reservations
User-friendly interface
Responsive design for mobile and desktop
User can add hotels
User can edit their added hotel
Technologies Used
ReactJS: Frontend development
Node.js: Backend server
Express: REST API development
MongoDB: Database storage
Getting Started
Follow these instructions to get a copy of the project up and running on your local machine. Prerequisites
Node.js: Make sure you have Node.js installed.
MongoDB: You should have a MongoDB instance running.
Installation
Clone the repository:
bash
git clone https://github.com/zafarali56/Booking_app.git
cd your-repo
Install dependencies for the frontend and backend:
bash
cd frontend npm install cd ../backend npm install
Set up environment variables:
Create a .env file in the backend directory with the following content:
env
MONGODB_URI=your_mongodb_connection_string
Run the application:
In the backend directory, run:
bash
npm start
In the frontend directory, run:
bash
npm start
Open your web browser and go to http://localhost:3000 to access the app.
Usage
Browse hotels and view their pictures.
Click on a hotel to view more details and make a booking.
Fill out the booking form and confirm your reservation.
Font Awesome for icons.
Author
Zafar Ali