Giter Site home page Giter Site logo

travelxml / airbnb-clone-sanity-next-react Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 257 KB

Airbnb Clone - Build Backend and Frontend for Airbnb using React, Next, Sanity

JavaScript 89.96% Shell 0.70% CSS 9.34%
airbnb-clone airbnb reactjs nextjs sanity-io react next airbnb-listings clone-app cloner

airbnb-clone-sanity-next-react's Introduction

AIRBNB CLONE Using REACT / NEXT / SANITY

airbnb-clone

Airbnb Clone - Create Backend and Frontend for Airbnb App using React, Next, Sanity.io

Getting Started

Let's first Up the Backend with Sanity CMS then we will go to Frotend, to display structured data's via Sanity SDK and React HOOK

Sanity

Sanity is the most flexible platform for building data driven content solutions.

Next.js

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

React.js

React.js JavaScript library for building interactive user interfaces

Backend

Step 1: Download file >> go to backend folder then run the below commands.

npm i

Step 2: Run the development server:

sanity start

it will up the backend server to create schemas then access those schemas on frontend.

image

Open http://localhost:3333 with your browser to see the result.

image

Frontend

Step 3: Now we are good to go ahead with Frontend, Run the below command, install the required packages:

npm i

Step 4: Run the server

npm run dev
# or
yarn dev

image

Open http://localhost:3000 with your browser to see the result.

image

Help

If you get stuck, the Sanity community I was talking about can be found here on the Sanity Exchange (https://www.sanity.io/exchange) and the Sanity Slack Community (https://slack.sanity.io/).

Enjoy Coding!

airbnb-clone-sanity-next-react's People

Contributors

travelxml avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.