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.
- 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
- 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
# 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"
# Run the development server
npm run dev
Open http://localhost:3000 with your browser to see the result.
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.
Rajkumar Khatua
LinkedIn: Rajkumar Khatua
GitHub: Rajkumar-Khatua