Today, India exports software, financial and knowledge services, heavy machinery, cars and what not. We even stopped taking foreign aid and had been a giver to EU.
I will fully admit and have no doubt that there are tons of problem. From population to poor leadership. But I do agree with OP that India of today is far well off as compared to India at the time of independence and a large part of population is out of poverty. We do have drag of corruption, over population and poor leadership. But their are voices against all these ills and I hope (yes, I am not sure) that we be able to overcome these one day.
Comparisons with China are good. India(ns) had always been a competitor to Pakistan. Country we feel ashamed to be associated with now. On the other hand, we are all too aware of China's success. But it's not the win of communism over democracy but good leadership over poor (and ulterior) leadership.