I manage a web2 website that has about 20K lines of code and 80GB database. The code is not for public or open source. The data contains privacy information. The site has lot of user activities and user-submitted content. I am thinking about converting it to a web3 site. I understand, in some degree, what the web3 is, and trying to understand how to convert it to a web3 site. Based on my research, the database can be stored on a off-chain database/network. I have hard time to figure out where to store and run the cod. Putting it on each node computer in a blockchain network? The code is viewable by every nodeβs owner?
Sorry for my ignorance. Thanks for any input!