This NodeJs app leverages IPFS protocol for exchanging encrypted data between two parties. (Created as part of paper https://arxiv.org/abs/2012.05141)
-
Clone the repo and git checkout to branch ipfs
-
Install
npmpackages by runningnpm iin your terminal.(Must havenpminstalled beforehand) -
After you have completed Step 1, run
ipfs daemonin a terminal to spin up the ipfs server. (A peer CID will be assigned to you automatically.) You can check your node server by navigating tolocalhost:5001/webui/ -
Run
npm run devin a separate terminal to start the Developement NodeJS server atlocalhost:3000 -
You can use sample file in
files/ -
You're all set!