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
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 https://yourhotel.vercel.app/
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
Farnaz Banavand
Contact
Gmail: [Farnaz Banavand] mailto:banavandfarnaz@gmail.com
Linkedin: Farnaz Banavand