Giter Club home page Giter Club logo

imran-khani / airbnb-clone Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 1.18 MB

This project is an Airbnb clone that leverages cutting-edge web technologies, including React, Next.js, MongoDB, Prisma, NextAuth, and Tailwind CSS. ⤹★ NOTE: THE DEVELOPMENT IS REMOVED FOR SOME REASONS. ★⤸

CSS 0.27% TypeScript 99.29% JavaScript 0.44%
airbnb airbnb-clone airbnb-javascript airbnb-data airbnb-eslint airbnb-listings airbnb-pricing-prediction airbnbcloneapp mongodb mongodb-atlas nextjs nextjs-template nextjs14 prisma prisma-client react-website tailwindcss zustand

airbnb-clone's Introduction

Airbnb Project

Overview

This project is a web application inspired by Airbnb, allowing users to search for accommodations, make bookings, and manage their reservations.

Installation

To get started with the project, follow these steps:

  1. Clone the repository: git clone

  2. Navigate to the project directory: cd airbnb

  3. Install dependencies: npm install

Usage

After installation, you can use the following npm scripts:

  • npm run dev: Start the development server.
  • npm run build: Build the project for production.
  • npm start: Start the production server.
  • npm run lint: Lint the project files.
  • npm run postinstall: Generate Prisma client after installation.

Dependencies

Here are the main dependencies used in this project:

  • Next.js: Framework for React applications.
  • Prisma: Database toolkit.
  • NextAuth.js: Authentication library for Next.js.
  • Axios: HTTP client for making requests.
  • React: JavaScript library for building user interfaces.
  • MongoDB: NoSQL database.
  • React-Leaflet: React components for Leaflet maps.
  • React-Select: Customizable select input for React.
  • Zustand: State management library for React.

For a complete list of dependencies, refer to the package.json file.

Development Dependencies

These are the development dependencies used for building and linting the project:

  • TypeScript: Typed superset of JavaScript.

  • ESLint: JavaScript linter.

  • Tailwind CSS: Utility-first CSS framework.

  • PostCSS: CSS post-processor.

  • Autoprefixer: CSS vendor prefixer.

  • @types/ packages*: TypeScript type definitions for various libraries.

  • Configuration

Environment Variables

You should add a .env file by your own which is not included in this repository. The .env file should contain configuration variables for GitHub, Google, and custom login integration, as well as Cloudinary API keys.

Example .env file: DATABASE_URL=""

GITHUB_ID = "" GITHUB_SECRET = ""

GOOGLE_ID =""

GOOGLE_SECRET =""

NEXTAUTH_SECRET = ""

NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME="" CLOUDINARY_API_KEY="" CLOUDINARY_API_SECRET="" CLOUDINARY_URL=""

Contributing

Contributions to the project are welcome! If you encounter any issues or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

airbnb-clone's People

Contributors

imran-khani avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

sardorbabakulov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.