Simple Certificate Dapp with Infura (and IPFS).
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.gitGo to the project directory
cd Express-Certificate-Dapp-InfuraGo to the truffle folder
cd truffleInstall truffle globally
npm install -g truffleInstall other dependencies (hdwallet-provider & dotenv)
npm installCreate a .env file & add private key and project id
touch .envtruffle/.env
PRIVATE_KEY=<--your private_key-->
PROJECT_API=<--your project_api-->Compile & migrate the contract to sepolia
truffle migrate --network sepoliaGo back to the project directory & install dependencies
cd .. && npm installCopy the .env file from the truffle folder to the main folder
cp ./truffle/.env ./Start the application
npm run devDistributed under the MIT License.