GithubHelp home page GithubHelp logo

encode-group-6-week-4-homework's Introduction

Scripts

yarn frontend to start the frontend
yarn backend to start the backend
yarn dev will start the backend and frontend together

Tasks

  • Build a web server and API for providing the features using the RESTful architecture
  • Run a local node of IPFS
  • Upload 10 images to this node
  • Create a JSON and build metadata descriptions for 10 NFTs, each using one unique image
  • Make a GET method in the API to get the metadata by id
  • Deploy a NFT Collection and mint 10 NFTs, and assign the API endpoint to the token URI
  • Integrate this NFT Collection contract and APIs in a frontend application to display NFTs metadata and images
  • (Bonus) provide wallet functions in the frontend to buy, transfer, allow, transfer from and burn NFTs

Frontend Folder

Unsure if yarn frontend will start this folder.

Vercel Deployment

The frontend was deployed using vercel. You can visit it here: https://next-frontend-sigma.vercel.app/

The whole frontend pages are visible there.

Thirdweb SDK

The frontend connects to the contracts with the Thirdweb SDK. Backend services are provided as necessary by Next.Js itself. Other than that, no methods needed to be called.

NFT Collection

Contract of the NFT Collection was deployed on Mumbai using the Thirdweb Dashboard. Collection can be found here: https://thirdweb.com/mumbai/nft-collection/0x7f214B42f8B53008cc1e81A93a9C8307624E4B26?tabIndex=0

NFT Marketplace

A seperate contract was deployed on Mumbai to offer marketplace functionality for the minted NFTs. Marketplace can be found here: https://thirdweb.com/mumbai/marketplace/0xD3d4036F8BdA104bf7c7c483452267DEAF7640Ff?tabIndex=0

Local Setup - Getting Started

First, install the dependencies with

npm install

run the development server:

npm run dev
# or
yarn dev

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

Backend Folder

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.