Every time when we have to work on a project we are deploying a smart contract on remix & each time the variables of smart contract get back to an initial state which is technically correct as we are deploying again and again.
However, as a product, it must preserve its state so, how that can be done?? can it be resolved with truffle and ganache or something else??