Skip to content

Rajkumar-Khatua/Your-Hotel-Hotel-Booking-Using-NEXTJS-

Repository files navigation

Your Hotel

Description

This is a Hotel Booking Website Like AirBnb where you can book a room for your stay. You can also list your property for rent.

Features

  • User Authentication [Providers: Google, Github, Normal email and password]
  • Property Listing
  • Property Booking
  • Property Management
  • Favorite Property
  • Property Review
  • Map Integration
  • Show Reservations
  • Calendar View of Reservations

Technologies

  • React
  • Next.js
  • Node.js
  • NextAuth.js
  • MongoDB
  • Prisma
  • Tailwind CSS
  • World-Countries
  • Axios
  • React-spinners
  • React-hot-toast
  • Zustand (State Management)
  • Cloudinary (Image Hosting)
  • Bcrypt
  • Date-fns
  • Typescript
  • React-Icons

Installation

# Clone the repository
git clone https://github.com/Rajkumar-Khatua/Hotel-Booking-Using-NEXTJS.git

Install the dependencies

# Install the dependencies
npm install

Create a .env.local file in the root directory and add the following environment variables

DATABASE_URL= "your database url"
NEXTAUTH_SECRET = "your next auth secret"
GITHUB_ID="your github id"
GITHUB_SECRET= "github secret"
GOOGLE_ID= "google id "
GOOGLE_SECRET= "google secret"
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME= " cloudinary cloud name"

Usage

# Run the development server
npm run dev

Open http://localhost:3000 with your browser to see the result.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.

Author

        Rajkumar Khatua

Contact

LinkedIn: Rajkumar Khatua

GitHub: Rajkumar-Khatua