- Go to https://github.com/storj-thirdparty/uplink-nodejs
- Refer to Prerequisites and follow steps
- Go to usage and follow steps
- Use the command "node index.js" to run sample code
- Refer the repo: https://github.com/web3-storage/web3.storage/tree/main/packages/client/examples/node.js
- Do npm install
- Use command "node put-files" to run the code
- put-files.js -> Used to upload a file
- retrieve-files.js -> Get a list of all the files uploaded to the network.
- Refer doc : https://web3.storage/docs/how-tos/store/?lang=js