Git Product home page Git Product logo

divyam2600 / airbnb-clone-2.0 Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 5.0 6.08 MB

Instagram 2.0 Clone is built using Next JS + Tailwind CSS powered by Next-Auth and MapBox. Additionally Headless UI, Progress Bar, Date-Fns, React Date-Range, React-Map-GL have been used.

Home Page: https://airbnb-clone-divyam.vercel.app

JavaScript 98.23% TypeScript 0.39% CSS 1.38%
nextjs date-fns environment-variables geolib google-authentication headlessui-react live-search mapbox nextauth postcss

airbnb-clone-2.0's Introduction

Airbnb Clone 2.0

Version License: MIT Version

About The Build:

This Airbnb clone has an Eye-Catching and Interactive UI with especially place search filter and MapBox integration with slick effect. Furthermore, custom Icons have been created and added.

Template Screenshot

Current Features :

  • LogIn with Google, Facebook, Github, Twitter
  • Every Data pulled via OpenDataSet's Airbnb API
  • Calender Date picker on User Search Input
  • Custom Details page of every place with every minute detail
  • Interactive Map displaying location of searched places
  • Custom Search
  • Protected Routes

  • Next.js + Tailwind CSS

    Next.js is a React Production Framework which gives the best developer experience with all the features for production: hybrid static & server rendering, TypeScript support, smart bundling, route pre-fetching, and more. No config needed.

    How To Start :

    Start with a pre-made Starter Template

    Execute create-next-app with npm or Yarn to bootstrap the example with a pre-configured starter template of NextJs App with TailwindCSS:

    npx create-next-app --example with-tailwindcss your-app-name
    # or
    yarn create next-app --example with-tailwindcss your-app-name

    Now finally run your Project :

    Run your build process with npm run dev or whatever command is configured in your package.json file.

    npm run dev

    Environment variables :

    Open .next.config.js file then edit add this setting

    module.exports = {
      env: {
        mapbox_token:"YOUR TOKEN",
      },
    };
    
    

    Create .env.local file add this keys

    NEXTAUTH_URL=http://localhost:3000
    
    # GOOGLE KEYS
    GOOGLE_CLIENT_ID=key_goes_here
    GOOGLE_CLIENT_SECRET=key_goes_here
    
    # GITHUB KEYS
    GITHUB_CLIENT_ID=key_goes_here
    GITHUB_CLIENT_SECRET=key_goes_here
    
    # FACEBOOK KEYS
    FACEBOOK_CLIENT_ID=key_goes_here
    FACEBOOK_CLIENT_SECRET=key_goes_here
    
    # TWITTER KEYS
    TWITTER_CLIENT_ID=key_goes_here
    TWITTER_CLIENT_SECRET=key_goes_here
    TWITTER_CLIENT_BEARER_TOKEN=key_goes_here
    
    

    Author

    ๐Ÿ‘ค Divyam Agarwal

    Show your support

    Give a โญ๏ธ if this project helped you!

    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.