Skip to content
项目

关于

A Full Stack Airbnb Clone built with Next js

网站与应用开发

这些数字如何统计

可以做什么

  • User registration and authentication
  • Property listing and browsing
  • Property booking and reservations
  • Search and filtering of properties

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Airbnb Clone

This is an Airbnb clone built with Next.js, TypeScript, Tailwind CSS, MongoDB, Prisma, Next auth, Leaflet and many other technologies.

Features

  • User registration and authentication
  • Property listing and browsing
  • Property booking and reservations
  • Search and filtering of properties
  • Interactive map using Leaflet to display property locations

Demo

You can check out a live demo of the Airbnb clone project here.

Screenshots

vacationhub

login-modal

listing

Prerequisites

Make sure you have the following software installed on your system:

  • git If you want to clone the project from GitHub and work with it locally, you will need to have Git installed on your system. You can download and install Git from the official website (https://git-scm.com/).

  • Node.js Application requires Node.js to be installed on your system in order to run. You can download and install the latest version of Node.js from the official website (https://nodejs.org/).

Installation

  • Clone the repository:

    git clone https://github.com/sudeepmahato16/airbnb_clone.git
    
  • Navigate to the project directory:

    cd Airbnb
    
  • Install the dependencies:

    npm install
    
  • Set up the environment variables:

    1. Create a .env.local file in the root directory.

    2. Add the following variables to the .env file, replacing the placeholder values with your own:

      DATABASE_URL=<your-mongodb-uri>
      GITHUB_CLIENT_ID=<your-github-client-id>
      GITHUB_CLIENT_SECRET=<your-github-client-secret>
      GOOGLE_CLIENT_ID=<your-google-client-id>
      GOOGLE_CLIENT_SECRET=<your-google-client-secret>
      NEXTAUTH_SECRET=<your-nextauth-secret>
      EDGE_STORE_ACCESS_KEY=<your-edge-store-access-key>
      EDGE_STORE_SECRET_KEY=<your-edge-store-secret-key>
      

Usage

  • Start the development server:

    npm run dev
    
  • Open your browser and visit http://localhost:3000 to access the application.

Contributing

Contributions are welcome! If you want to contribute to this project, please follow these steps:

  • Fork the repository.
  • Create a new branch for your feature or bug fix.
  • Commit your changes to the new branch.
  • Open a pull request back to the main repository, including a description of your changes.

探索相关项目

加载中…