Skip to content

Kerala-Blockchain-Academy/Express-Certificate-Dapp-Infura

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express-Certificate-Dapp-Infura

Simple Certificate Dapp with Infura (and IPFS).

🛠 Built With

NodeJS Express JavaScript Solidity Web3Js Truffle IPFS Infura

⚙️ Run Locally

Make sure to have a reasonable amount of sepolia 'test ether' on your address and an IPFS service running on port 8080.

Clone the project

git clone https://github.com/Kerala-Blockchain-Academy/Express-Certificate-Dapp-Infura.git

Go to the project directory

cd Express-Certificate-Dapp-Infura

Go to the truffle folder

cd truffle

Install truffle globally

npm install -g truffle

Install other dependencies (hdwallet-provider & dotenv)

npm install

Create a .env file & add private key and project id

touch .env

truffle/.env

PRIVATE_KEY=<--your private_key-->
PROJECT_API=<--your project_api-->

Compile & migrate the contract to sepolia

truffle migrate --network sepolia

Go back to the project directory & install dependencies

cd .. && npm install

Copy the .env file from the truffle folder to the main folder

cp ./truffle/.env ./

Start the application

npm run dev

License

Distributed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published