I am creating a dapp which has to be a login authentication system and some datas has to be store in database. So I really cant' store all the datas in Solidity's variable or class object, it has to be a backend connection setup with the dataase like sql or nosql. If I am using some kind of database like mysql or mongodb etc..then doesn't this neglect the point of decentralised apps? If so, what's the solution? Any example or article would help good. Thanks a lot
I am creating a dapp which has to be a login authentication system and some datas has to be store in database.
If this is the case, you are not necessarily creating a Dapp (decentralized application) because you are required to have a centralized server.
A true decentralized application can operate without the login system or any authority over the smart contract.
In your scenario, you can use a users public address as their login information, as users have access to the private key associated with their public key.