├── .eslintrc.json ├── .github ├── dependabot.yml └── workflows │ └── auto-merge-dependabot.yml ├── .gitignore ├── .vscode └── settings.json ├── README.md ├── next.config.js ├── package.json ├── postcss.config.js ├── prisma └── schema.prisma ├── public ├── images │ ├── logo.png │ └── placeholder.jpg ├── next.svg ├── thirteen.svg └── vercel.svg ├── screens ├── favorites-page.png ├── filter-modal.png ├── home-page.png ├── login-modal.png ├── my-properties-page.png ├── property-details-page-1.png ├── property-details-page.png ├── register-modal.png └── trips-page.png ├── src ├── app │ ├── actions │ │ ├── getCurrentUser.ts │ │ ├── getFavoriteListings.ts │ │ ├── getListingById.ts │ │ ├── getListings.ts │ │ └── getReservations.ts │ ├── api │ │ ├── favorites │ │ │ └── [listingId] │ │ │ │ └── route.ts │ │ ├── listings │ │ │ ├── [listingId] │ │ │ │ └── route.ts │ │ │ └── route.ts │ │ ├── register │ │ │ └── route.ts │ │ └── reservations │ │ │ ├── [reservationId] │ │ │ └── route.ts │ │ │ └── route.ts │ ├── components │ │ ├── Avatar.tsx │ │ ├── Button.tsx │ │ ├── CategoryBox.tsx │ │ ├── ClientOnly.tsx │ │ ├── Container.tsx │ │ ├── EmptyState.tsx │ │ ├── Heading.tsx │ │ ├── HeartButton.tsx │ │ ├── Loader.tsx │ │ ├── Map.tsx │ │ ├── inputs │ │ │ ├── Calendar.tsx │ │ │ ├── CategoryInput.tsx │ │ │ ├── Counter.tsx │ │ │ ├── CountrySelect.tsx │ │ │ ├── ImageUpload.tsx │ │ │ └── Input.tsx │ │ ├── listings │ │ │ ├── ListingCard.tsx │ │ │ ├── ListingCategory.tsx │ │ │ ├── ListingHead.tsx │ │ │ ├── ListingInfo.tsx │ │ │ └── ListingReservation.tsx │ │ ├── modals │ │ │ ├── LoginModal.tsx │ │ │ ├── Modal.tsx │ │ │ ├── RegisterModal.tsx │ │ │ ├── RentModal.tsx │ │ │ └── SearchModal.tsx │ │ └── navbar │ │ │ ├── Categories.tsx │ │ │ ├── Logo.tsx │ │ │ ├── MenuItem.tsx │ │ │ ├── NavBar.tsx │ │ │ ├── Search.tsx │ │ │ └── UserMenu.tsx │ ├── error.tsx │ ├── favicon.ico │ ├── favorites │ │ ├── FavoritesClient.tsx │ │ └── page.tsx │ ├── globals.css │ ├── hooks │ │ ├── useCountries.tsx │ │ ├── useFavorite.tsx │ │ ├── useLoginModal.tsx │ │ ├── useRegisterModal.tsx │ │ ├── useRentModal.tsx │ │ └── useSearchModal.tsx │ ├── layout.tsx │ ├── libs │ │ ├── fetcher.ts │ │ └── prismadb.ts │ ├── listings │ │ └── [listingId] │ │ │ ├── ListingClient.tsx │ │ │ └── page.tsx │ ├── loading.tsx │ ├── middleware.ts │ ├── page.tsx │ ├── properties │ │ ├── PropertiesClient.tsx │ │ └── page.tsx │ ├── providers │ │ ├── ModalProvider.tsx │ │ └── ToasterProvider.tsx │ ├── reservations │ │ ├── ReservationsClient.tsx │ │ └── page.tsx │ ├── trips │ │ ├── TripsClient.tsx │ │ └── page.tsx │ └── types │ │ └── index.ts └── pages │ └── api │ └── auth │ └── [...nextauth].ts ├── tailwind.config.js └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/auto-merge-dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/.github/workflows/auto-merge-dependabot.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/README.md -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/public/images/logo.png -------------------------------------------------------------------------------- /public/images/placeholder.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/public/images/placeholder.jpg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/thirteen.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/public/thirteen.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /screens/favorites-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/screens/favorites-page.png -------------------------------------------------------------------------------- /screens/filter-modal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/screens/filter-modal.png -------------------------------------------------------------------------------- /screens/home-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/screens/home-page.png -------------------------------------------------------------------------------- /screens/login-modal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/screens/login-modal.png -------------------------------------------------------------------------------- /screens/my-properties-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/screens/my-properties-page.png -------------------------------------------------------------------------------- /screens/property-details-page-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/screens/property-details-page-1.png -------------------------------------------------------------------------------- /screens/property-details-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/screens/property-details-page.png -------------------------------------------------------------------------------- /screens/register-modal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/screens/register-modal.png -------------------------------------------------------------------------------- /screens/trips-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/screens/trips-page.png -------------------------------------------------------------------------------- /src/app/actions/getCurrentUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/actions/getCurrentUser.ts -------------------------------------------------------------------------------- /src/app/actions/getFavoriteListings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/actions/getFavoriteListings.ts -------------------------------------------------------------------------------- /src/app/actions/getListingById.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/actions/getListingById.ts -------------------------------------------------------------------------------- /src/app/actions/getListings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/actions/getListings.ts -------------------------------------------------------------------------------- /src/app/actions/getReservations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/actions/getReservations.ts -------------------------------------------------------------------------------- /src/app/api/favorites/[listingId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/api/favorites/[listingId]/route.ts -------------------------------------------------------------------------------- /src/app/api/listings/[listingId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/api/listings/[listingId]/route.ts -------------------------------------------------------------------------------- /src/app/api/listings/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/api/listings/route.ts -------------------------------------------------------------------------------- /src/app/api/register/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/api/register/route.ts -------------------------------------------------------------------------------- /src/app/api/reservations/[reservationId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/api/reservations/[reservationId]/route.ts -------------------------------------------------------------------------------- /src/app/api/reservations/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/api/reservations/route.ts -------------------------------------------------------------------------------- /src/app/components/Avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/Avatar.tsx -------------------------------------------------------------------------------- /src/app/components/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/Button.tsx -------------------------------------------------------------------------------- /src/app/components/CategoryBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/CategoryBox.tsx -------------------------------------------------------------------------------- /src/app/components/ClientOnly.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/ClientOnly.tsx -------------------------------------------------------------------------------- /src/app/components/Container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/Container.tsx -------------------------------------------------------------------------------- /src/app/components/EmptyState.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/EmptyState.tsx -------------------------------------------------------------------------------- /src/app/components/Heading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/Heading.tsx -------------------------------------------------------------------------------- /src/app/components/HeartButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/HeartButton.tsx -------------------------------------------------------------------------------- /src/app/components/Loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/Loader.tsx -------------------------------------------------------------------------------- /src/app/components/Map.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/Map.tsx -------------------------------------------------------------------------------- /src/app/components/inputs/Calendar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/inputs/Calendar.tsx -------------------------------------------------------------------------------- /src/app/components/inputs/CategoryInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/inputs/CategoryInput.tsx -------------------------------------------------------------------------------- /src/app/components/inputs/Counter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/inputs/Counter.tsx -------------------------------------------------------------------------------- /src/app/components/inputs/CountrySelect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/inputs/CountrySelect.tsx -------------------------------------------------------------------------------- /src/app/components/inputs/ImageUpload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/inputs/ImageUpload.tsx -------------------------------------------------------------------------------- /src/app/components/inputs/Input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/inputs/Input.tsx -------------------------------------------------------------------------------- /src/app/components/listings/ListingCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/listings/ListingCard.tsx -------------------------------------------------------------------------------- /src/app/components/listings/ListingCategory.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/listings/ListingCategory.tsx -------------------------------------------------------------------------------- /src/app/components/listings/ListingHead.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/listings/ListingHead.tsx -------------------------------------------------------------------------------- /src/app/components/listings/ListingInfo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/listings/ListingInfo.tsx -------------------------------------------------------------------------------- /src/app/components/listings/ListingReservation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/listings/ListingReservation.tsx -------------------------------------------------------------------------------- /src/app/components/modals/LoginModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/modals/LoginModal.tsx -------------------------------------------------------------------------------- /src/app/components/modals/Modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/modals/Modal.tsx -------------------------------------------------------------------------------- /src/app/components/modals/RegisterModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/modals/RegisterModal.tsx -------------------------------------------------------------------------------- /src/app/components/modals/RentModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/modals/RentModal.tsx -------------------------------------------------------------------------------- /src/app/components/modals/SearchModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/modals/SearchModal.tsx -------------------------------------------------------------------------------- /src/app/components/navbar/Categories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/navbar/Categories.tsx -------------------------------------------------------------------------------- /src/app/components/navbar/Logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/navbar/Logo.tsx -------------------------------------------------------------------------------- /src/app/components/navbar/MenuItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/navbar/MenuItem.tsx -------------------------------------------------------------------------------- /src/app/components/navbar/NavBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/navbar/NavBar.tsx -------------------------------------------------------------------------------- /src/app/components/navbar/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/navbar/Search.tsx -------------------------------------------------------------------------------- /src/app/components/navbar/UserMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/components/navbar/UserMenu.tsx -------------------------------------------------------------------------------- /src/app/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/error.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/favorites/FavoritesClient.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/favorites/FavoritesClient.tsx -------------------------------------------------------------------------------- /src/app/favorites/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/favorites/page.tsx -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/hooks/useCountries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/hooks/useCountries.tsx -------------------------------------------------------------------------------- /src/app/hooks/useFavorite.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/hooks/useFavorite.tsx -------------------------------------------------------------------------------- /src/app/hooks/useLoginModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/hooks/useLoginModal.tsx -------------------------------------------------------------------------------- /src/app/hooks/useRegisterModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/hooks/useRegisterModal.tsx -------------------------------------------------------------------------------- /src/app/hooks/useRentModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/hooks/useRentModal.tsx -------------------------------------------------------------------------------- /src/app/hooks/useSearchModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/hooks/useSearchModal.tsx -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/libs/fetcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/libs/fetcher.ts -------------------------------------------------------------------------------- /src/app/libs/prismadb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/libs/prismadb.ts -------------------------------------------------------------------------------- /src/app/listings/[listingId]/ListingClient.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/listings/[listingId]/ListingClient.tsx -------------------------------------------------------------------------------- /src/app/listings/[listingId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/listings/[listingId]/page.tsx -------------------------------------------------------------------------------- /src/app/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/loading.tsx -------------------------------------------------------------------------------- /src/app/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/middleware.ts -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/properties/PropertiesClient.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/properties/PropertiesClient.tsx -------------------------------------------------------------------------------- /src/app/properties/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/properties/page.tsx -------------------------------------------------------------------------------- /src/app/providers/ModalProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/providers/ModalProvider.tsx -------------------------------------------------------------------------------- /src/app/providers/ToasterProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/providers/ToasterProvider.tsx -------------------------------------------------------------------------------- /src/app/reservations/ReservationsClient.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/reservations/ReservationsClient.tsx -------------------------------------------------------------------------------- /src/app/reservations/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/reservations/page.tsx -------------------------------------------------------------------------------- /src/app/trips/TripsClient.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/trips/TripsClient.tsx -------------------------------------------------------------------------------- /src/app/trips/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/trips/page.tsx -------------------------------------------------------------------------------- /src/app/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/app/types/index.ts -------------------------------------------------------------------------------- /src/pages/api/auth/[...nextauth].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/src/pages/api/auth/[...nextauth].ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divyeshio/next-airbnb/HEAD/tsconfig.json --------------------------------------------------------------------------------