Skip to content

whynft/nft-gift-button-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nft-gift-button-frontend

Frontend for demonstration of Darilka contract and backend interaction.

Currently, there is a Django as html/static server only. Thus, no interaction with the Django backend as it often happens. To note, all frontend logic is inside client html file and itself it consists of pure frontend html that will migrate to reactApp in the future, i.e. in the second milestone accroding to Rarible proposal roadmap

Requirement

  • The running backend

Demonstration Flow

First, prepare NFT on https://rinkeby.rarible.com/ (for demonstration we use rinkeby test net).

Send NFT

  1. Go to http://localhost:8015/send
  2. Login with metamask
  3. Complete steps

Receive NFT

  1. Go to http://localhost:8015/receive
  2. Relogin as a receiver
  3. Complete steps

Start

Prepare .env according to .env.example (coz we want to aware frontend what backend it should use) and

docker-compose -f docker-compose.prod.yml up