Spent around 2 months learning Phonegap and Rails and built a simple backend with 2 simple apps.
Initially, we have used Heroku to host our backend and Teamtreehouse to learn Rails and it was the best experience ever.
Look at how similar apps are doing what you have done to learn from their experience.