Skip to content

Full-stack Airbnb clone with full-fledged search, listing and booking functionality, and utilising new React server components. Built in React / Next / TypeScript

Notifications You must be signed in to change notification settings

bravomiguel/airbnb-clone

Repository files navigation

Bravobnb (Airbnb Clone)

Full-stack Airbnb clone with full-fledged search, listing and booking functionality, and utilising new React server components.

Showcases my ability to build commercial-grade full-stack applications on par with one of the tech industry’s leading web platforms Airbnb.

Tech used: React, TypeScript, Next.js, NextAuth, Tailwind CSS, Prisma, MongoDB, Cloudinary.

How to run

  1. Install dependencies by running
npm install
  1. Set up an account with MongoDB, and Cloudinary. For each of these services, get relevant details required for env variables below.

  2. Set up environment variables by creating .env file in root directory, and putting in the following variables

DATABASE_URL="mongodb+srv://your.mongodb.connection.url"
NEXTAUTH_SECRET="NEXTAUTH_SECRET"
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME="your.cloudinary.key"
  1. Run in dev, by running the below command, and open http://localhost:3000 with your browser to see the result.
npm run dev

Deploy on Vercel

The easiest way to deploy the app is to use the Vercel Platform.

Check out the Next.js deployment documentation for more details.

About

Full-stack Airbnb clone with full-fledged search, listing and booking functionality, and utilising new React server components. Built in React / Next / TypeScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages