I am trying to connect to a IPFS node using js-ipfs library in nodejs. Initially I was using Infura but it turns out that is does not supports MFS api calls. So my friend decided to spin up his own IPFS node in his laptop. Now I would like to connect to that node so that I can use it as a gateway and upload and download files just like Infura services.
Till now I have tried to connect to his node by using the addresses given in his config file but with no success. I even tried to follow some articles but nothing seems to work. I would be great if I could achieve this. Do let me know if any information is needed.