Consider a simple circuit with a battery of constant potential difference V and a resistor of resistance R. So if we close the circuit then current flows through it and there is a voltage drop across it. As there is only one resistor the total voltage drops across it. Which means if we measure the potential difference using a voltmeter then it shows 5V(considering the conducting wire has zero resistance). So on one end the potential is 5V and on the other end it is 0V. Now my question is how the current flows further in the circuit from the 0V end as there is no potential difference between this end of resistor and the ground. I know I have missed something basic, so please help me out.
In your idealised scenario you are assuming that the wires have zero resistance, so no potential difference is required to drive current through the wires.
In practice the wires will have a small non-zero resistance, so there will be a small voltage drop across each wire. The potential at one end of the resistor will be slightly below $5$V and the potential at the other end of resistor will be slightly above $0$V.
When the charge returns to the battery having zero electrical potential, it gains 5 volts electrical potential going from the negative battery terminal to the positive due to the conversation of chemical potential energy to electrical potential energy inside the battery.
Hope this helps.