Airbnb clone which allows you to upload your property, reserve for a trip and view your trips with proper cost. Also an owner can view and delete customer reservations whenever he/she want. This authentication part made with next-auth that allows user to authente using email & password or using google and github account.
- Credential authentication
- Google authentication
- Github authentication
- Image upload using Cloudinary CDN
- Client form validation
- Booking / Reservation system
- Guest reservation cancellation
- Owner reservation cancellation
- Creation and deletion of properties
- Pricing calculation
- Favorites system
- Advanced search system by category, date range, map location, number of guests, rooms and bathrooms
Clone the project
git clone https://github.com/MizanurRahmann/Airbnb-Clone.git
Install packages
npm i
Setup .env file
DATABASE_URL=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_ID=
GITHUB_SECRET=
NEXTAUTH_SECRET=
Setup Prisma
npx prisma db push
Start the app
npm run dev