Deploying IPFS node with Custom Storage Backend


I am trying to deploy JS ipfs node with a custom storage backend in NodeJS. For now I have the plan of creating a client file where I can initiate the node, add data to IPFS using add() and retrieve the content using cat() functions.

Please help by letting me know how to deploy the IPFS with custom repo using CLI and interact with it using the CLI too.