Hello
Thanks for your reply.
From my understanding of what you said, I'm guessing you want to run a Bitcoin Core node, not program one from scratch.
Well, basically, you'd need to open the RPC port and make it public (with no username/password). Then, use the command-line option to disable the wallet subsystem so people don't use it, and that's about it.
But you may want to put it behind a web server and use some rate-limiting inside so that it doesn't get overloaded.
Just a small query: Why do we need it behind the webserver? From the document, I understand that the Bitcoin core full node works for syncing the blockchain with other nodes and provides one more medium for confirmation, which the Bitcoin network can use. And yes this will not be for any kind of wallet services.
Also, can you please throw some light on some documents which can make me more aware of RPC?