Giter Site home page Giter Site logo

airbnb-starter's Introduction

Airbnb-Starter

https://academy.moralis.io/lessons/what-are-we-going-to-build git clone https://github.com/IAmJaysWay/Airbnb-starter.git cd .\Airbnb-starter
yarn

To start the server: yarn start then go to http://localhost:3000/

Full code: https://github.com/MoralisWeb3/youtube-tutorials/tree/main/AirBNB_Decentral

Web3 UI Kit: https://github.com/web3ui/web3uikit https://web3ui.github.io/web3uikit/ https://moralis.io/web3ui-kit-the-ultimate-web3-user-interface-kit/

Airbnb.sol deployed at: 0xF5983EFF722084dB7C00cA07EA7Dc66F49e44a87 on Polygon Mumbai Testnet

IpfsUploader: https://moralis.io/how-to-upload-files-to-ipfs-full-guide/ New: https://docs.moralis.io/docs/how-to-upload-a-folder-to-ipfs npm i @moralisweb3/core @moralisweb3/evm-api npm install @moralisweb3/evm-utils npm install Moralis.EvmApi

C:\Users\rupal\work\repos\Airbnb-starter\src\pages> node IpfsImageUploader.js //Until the Moralis call works, use this string with https://docs.moralis.io/reference/uploadfolder to upload into Ipfs. [Select IpfsUploader.js RunOrDebug and breakpoint here] const first_img_base64 = uploadArray[0].content; //https://ipfs.moralis.io:2053/ipfs/Qme8xAgPoUdSuLuZ5HqjYiKjQWJnyjWC7zuMYtSpQGDZov/rm.png const second_img_base64 = uploadArray[1].content; //https://ipfs.moralis.io:2053/ipfs/QmecVFyZiDxko9SyEXL2J1qFnrb2AowbZP1NQRFyGUgxwh/rm2.png const third_img_base64 = uploadArray[2].content; //https://ipfs.moralis.io:2053/ipfs/QmWkb41tJdv51rvQJK1yZRFwrbvyH2Ys32s4b2q8ct9kXi/rm3.png"

//And to fetch the images:
//Works! https://gateway.moralisipfs.com/ipfs/Qme8xAgPoUdSuLuZ5HqjYiKjQWJnyjWC7zuMYtSpQGDZov/rm.png

Moralis v1 : https://v1docs.moralis.io/moralis-dapp/files/ipfs Non-Moralis ipfs folder upload: https://stackoverflow.com/questions/57413598/upload-a-full-directory-to-ipfs-using-ipfs-js-ipfs-http-client

airbnb-starter's People

Contributors

iamjaysway 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.