Airbnb, Inc. is an American San Francisco-based company operating an online marketplace for short- and long-term homestays and experiences.
- Framework: Next.js
- Styling: Tailwind CSS
- Forms: React Hook Form
- Icons: React Icons
- Database: MongoDB
- ODM: Prisma
- Linting: ESLint
- Code Formatting: Prettier
Package Name | Package Version |
---|---|
@next-auth/prisma-adapter | ^1.0.7 |
@prisma/client | ^4.15.0 |
@types/node | 18.15.5 |
@types/react | 18.0.28 |
@types/react-dom | 18.0.11 |
axios | ^1.4.0 |
bcrypt | ^5.1.0 |
date-fns | ^2.30.0 |
eslint | 8.36.0 |
eslint-config-next | 13.2.4 |
leaflet | ^1.9.4 |
next | 13.2.4 |
next-auth | ^4.22.1 |
next-cloudinary | ^4.12.0 |
next-superjson-plugin | ^0.5.8 |
query-string | ^8.1.0 |
react | 18.2.0 |
react-date-range | ^1.4.0 |
react-dom | 18.2.0 |
react-hook-form | ^7.44.3 |
react-hot-toast | ^2.4.1 |
react-icons | ^4.9.0 |
react-leaflet | ^4.2.1 |
react-select | ^5.7.3 |
react-spinners | ^0.13.8 |
swr | ^2.1.5 |
typescript | 5.0.2 |
world-countries | ^4.0.0 |
zustand | ^4.3.8 |
@types/bcrypt | ^5.0.0 |
@types/leaflet | ^1.9.3 |
@types/react-date-range | ^1.4.4 |
autoprefixer | ^10.4.14 |
postcss | ^8.4.24 |
prisma | ^4.15.0 |
tailwindcss | ^3.3.2 |
- First clone the repository by copy/paste the following command:
git clone https://github.com/hasibulislam999/airbnb-clone.git
- Install node_modules that mention in
package.json
file in dependency & dev-dependency section by copy/paste the following one of the command:
npm i
//or
npm i -f
- Create a new file named
.env
and insert following by copy/paste following commands:
DATABASE_URL=
NEXTAUTH_SECRET=
GITHUB_ID=
GITHUB_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=
- Setup
Prisma
ODM by typing following command:
npx prisma db push
- Now run the project by typing following command:
npm run dev
- If
Sign in
the try one of the following account:
[email protected]
Hasib@123
//or
[email protected]
Sadia@123
- If
Sign up
then try social/manual
Front-End Developer | Back-End Developer | React JS Developer | Next JS Developer | Node JS Developer | JavaScript Programmer
- Hasibul Islam
Linkedin
hasibulislam999Twitter
hasibulislam999WhatsApp
+8801906315901
- Reference Link
YouTube
Click Here