claudebarde / taquito-pinata-tezos-nft

A tutorial dapp to show how to create NFTs on Tezos with Taquito and Pinata
51 stars 34 forks source link

Learn how to create NFTs on Tezos using Taquito and Pinata

This is a tutorial dapp to show how to create NFTs on Tezos with Taquito and Pinata

Structure of the project

Getting started:

npm install
npm run dev

You must provide a valid server URL in the App.svelte file:

// Replace `https://my-cool-backend-app.com` with the address where you deployed the backend app

const serverUrl =
  process.env.NODE_ENV !== "production"
    ? "http://localhost:8080"
    : "https://my-cool-backend-app.com";
npm install
npm run dev

You must provide a valid app URL for the CORS options:

// Replace `https://my-cool-nft-app.com` with the URL of your app

const corsOptions = {
  origin: ["http://localhost:8082", "https://my-cool-nft-app.com"],
  optionsSuccessStatus: 200 // some legacy browsers (IE11, various SmartTVs) choke on 204
};