I am thinking of making a webapp where I have to save some private data and other data that could be public. For simplicity let's say it's a quizzes page but it logs in with Metamask.
We are going to have to make some smart contracts for some functionality.
My question is which stack is recommended.
I was learning nodejs to develop an api that the front communicates with.
We are going to use React & ethers.js in frontend. But I'm not sure what to do with the backend and what database to use.
Would it be okay to use MongoDB for everything? I would like the webapp to be as decentralized as possible.
I get lost in the part of how to connect everything, for example how to connect the metamask log in with the database, or the smart contracts and that, etc.
I don't know what I could use as a database if I want to make it as decentralized as possible.
I also don't know nodejs is ok, or if I use solidity for everything