Skip to content

Example App showing IPFS connectivity in React using NFT.Storage library

Notifications You must be signed in to change notification settings

blazingyeti/ipfs-react-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPFS React Example

  • Example App showing IPFS connectivity in React using NFT.Storage library
  • Needed to use ViteJS instead of react-scripts because of webpack issues with NFT.Storage

Setup

  1. Get an API key from NFT.Storage
  2. Add API key to .env file's NFT_STORAGE_API_KEY variable
  3. Have NodeJS installed
  4. Install yarn if missing: npm install yarn
  5. Run yarn install

Commands

In the project directory, you can run:

yarn dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.

yarn build

Builds the app for production to the dist folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

About

Example App showing IPFS connectivity in React using NFT.Storage library

Topics

Resources

Stars

Watchers

Forks