Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

zafarali56/Booking_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Using React and NodeJS, mongoDB, ExpressJS. It's a booking app from scratch. It's fullstack working WebApp, using modern web development tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors