Project Demo
To run the demo follow these steps: Ensure you already have NodeJs installed on your local machine.
Step-1
- Have Xampp Installed:
- Run the Xampp program and ensure your apache and mysql services are both Running.
Step-2 Navigate to your Browser.
- Visit localhost/phpmyadmin
- Create a Database structure called
**monsternft**
. - Download this sql file.
- Import it into your
**monsternft**
database.
You should have similar result as the one below.
Step-3 Clone this project into your project workspace.
git clone https://github.com/Chrisspotless/Verbwire_Monster_NFT.git monsterNFT
cd monsterNFT # Navigate to the new folder.
yarn install # Installs all the Dependencies.
Step-4
Create a **.env**
file in the root of your project.
- Visit Verbwire and create an account.
- Create a simple ER721 Smart Contract.
- Copy Your API Key and the Contract Address to your clipboard.
- Head to your project
**.env**
file and update with the information below.
Use your API key and replace as follow.
VERBWIRE_API_KEY=sk_live_***********************************
VERBWIRE_CONTRACT=0x****************************************
HOST='127.0.0.1'
PORT='3306'
DATABASE='monsternft'
USER='root'
PASSWORD=''
Step-5 Open Two terminals:
- On terminal one, run
**node api/app.js**
. - On terminal two, run
**yarn start**
. - Visit the address on the terminal two on your browser.