Skip to content

Avik-creator/Hotel-Booking-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotel Booking App

  • This is a Hotel Booking App in which a user can add their hotels and can also book a hotel in which the user will be prompted to give their card details. The payment will be processed by stripe.

Key Features:

1. Adding And Editing of Hotels:

  • As a user, you have the flexibility to not only add your hotels but also to seamlessly edit them, ensuring that your offerings are always up-to-date and attractive to potential guests. This feature empowers you to showcase your properties in the best light possible, enhancing the booking experience for all users. Whether you're fine-tuning amenities, updating pricing, or highlighting special promotions, your ability to edit your hotels ensures that they remain competitive and appealing in the marketplace. By leveraging this functionality, you can effectively manage your properties and maximize their visibility, ultimately driving more bookings and enhancing guest satisfaction.

2. Authentication:

  • A user can authenticate themselves, using their email and password.

3. Tech Stack:

  • MERN Architecture: Hotel Booking App is built on the powerful MERN stack, providing a seamless and efficient development and user experience.

  • MongoDB: Our platform utilizes MongoDB as the backbone database, ensuring robust data storage and retrieval.

  • API calling with React Query: React Query is used for API fetching.

4. Media Integration:

  • Cloudinary Integration: Seamlessly upload photos and videos with Cloudinary integration. All media files are accessible through generated links, providing a smooth user experience.

Run Locally

Clone the project

  • For Frontend

  git clone https://github.com/Avik-creator/Hotel-Booking-App.git

Go to the project directory

  cd Hotel-Booking-App
  cd frontend

Install dependencies

  npm install

Start the server

  npm run dev
  • The Server will run on PORT 5173

  • For Backend

  git clone https://github.com/Avik-creator/Hotel-Booking-App.git

Go to the project directory

  cd Hotel-Booking-App
  cd backend

Install dependencies

  npm install

Start the server

  npm run dev
  • The Server will run on PORT 3000

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

  • For Frontend:

    VITE_STRIPE_PUB_KEY =

  • For Backend:

    • STRIPE_API_KEY=
    • PORT=
    • MONGODB_URL=
    • JWT_SECRET=
    • NODE_ENV=
    • FRONTEND_URL=
    • CLOUDINARY_CLOUD_NAME=
    • CLOUDINARY_API_KEY=
    • CLOUDINARY_API_SECRET=

Images:

Screenshot 2024-03-14 at 10 05 27 PM Screenshot 2024-03-14 at 10 05 40 PM Screenshot 2024-03-14 at 10 05 50 PM Screenshot 2024-03-14 at 10 06 04 PM Screenshot 2024-03-14 at 10 07 15 PM Screenshot 2024-03-14 at 10 08 15 PM Screenshot 2024-03-14 at 10 08 29 PM Screenshot 2024-03-14 at 10 08 54 PM

How to Contribute

We welcome contributions from the developer community to enhance Hotel Booking App. If you're interested in contributing, follow these steps:

  • Fork the Repository: Fork the Hotel Booking App repository to your GitHub account.

  • Create a New Branch: Create a new branch for your feature or bug fix.

  • Make Changes: Implement your changes with clear and concise commit messages.

  • Push Changes: Push your changes to your branch and create a pull request to the main repository.

  • Review and Merge: We will review your changes, provide feedback, and merge them if they meet the criteria.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages