- Project aims to create a Airbnb clone with using NextJS.
- This is a Next.js project bootstrapped with
create-next-app
.
- I prepared a small-scale project in order to understand the NextJS that I have learned recently.
- I use Mabpox, react-map-gl and geolib for maps and locations and TailwindCSS for styling.
- I found the project from Youtube(Sonny Sangha). You can see the related video from here
You can reach my project from here 👈
nextjs-airbnb-clone (folder)
|----readme.md
SOLUTION
├── components
│ ├── Banner.jsx
│ ├── Footer.jsx
│ ├── Header.jsx
│ ├── InfoCard.jsx
│ ├── LargeCard.jsx
│ ├── MapGL.jsx
│ ├── MediumCard.jsx
│ └── SmallCard.js
├── pages
│ ├── _app.js
│ ├── _document.js
│ ├── index.js
│ └── search.js
├── public
│ └── favicon.ico
├── styles
│ └── global.css
├── .gitignore
├── next.config.js
├── package.json
├── postcss.config.js
├── tailwind.config.js
└── yarn.lock
- HTML
- CSS
- JavaScript
- ReactJS
- NextJS
- TailwindCSS
- Geolib
- React-map-gl
- Mapbox
- Heroicons
- React-date-range
To run this project;
- Signup https://www.mapbox.com/ and create new account.
- Copy your public token from your account page.
- Create a .env.local file and set your MAPBOX_KEY for maps and locations:
After these you can run the project as usual =>
$ git clone https://github.com/esadakman/nextjs-airbnb-clone.git
$ cd ./nextjs-airbnb-clone
$ npm install / yarn
$ npm run dev / yarn dev
Open http://localhost:3000 with your browser to see the result.