Not sure that doing the wrong thing is better than doing nothing. You can learn from doing the wrong thing!
I’ve spent time in the past writing a back end only to realise later that it has made things difficult for the consuming front end. I wish I had sketched out a basic API using a service such as apiary and then fill in the blanks on both sides (think tracer bullet development).
Anyway, I fear this could be a thread hijack!