This is a guide to setting up Parse Server on Heroku, and connecting to it with an iOS app (the Android version is coming soon). It assumes no knowledge of any Heroku, Github or Parse Server, and no coding skills are required. Enjoy!
You’ll need the following links:
My version of the Parse Server Example (official version is here)
My version of the Parse Server Starter Xcode Project, also available here (official SDK is here)
My version of the Parse Starter Android Studio Project, also available here (official SDK is here)
iOS Setup instructions:
Thank Rob this was a very fast implementation of the tutorial which should get me out of a bit of a hole. Look forward to following it on Monday morning
Thank you very much Rob for this. It works!
Hi Rob, just installed the server starter project and as soon as I try to compile and build I get 21 errors.
Thanks Nevin – it seems to be working ok for most people, have you followed the steps exactly? What errors do you get?
Worked the first time for me as well
Thank you Rob!
Reinstalled, and all is ok now.
Thanks for the reply.
Thanks a lot this is really helpfull and i appreciate.
Is there a way to export an existing application from Parse to Heroku? I know we can export users from Parse but how can i import them to Heroku? Do i have to do this manualy?
Thanks a lot.
Parse have an official guide on this: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#migrating
Rob what are the differences between your version and the “official” version? Does it really matter?
My version is exactly the same as the official version on the day I recorded the video. I recommend using mine only because I don’t know what changes they will make to the official version that might break this process. The most complete way to do it would be try the official version, and if that fails fall back to mine.
I keep getting errors in the logs on Heroku:
2016-02-25T01:32:01.984732+00:00 app[web.1]: npm ERR! Make sure you have the latest version of node.js and npm installed.
2016-02-25T01:32:01.986385+00:00 app[web.1]: npm ERR! npm bugs parse-server-example
2016-02-25T01:32:01.985568+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system:
2016-02-25T01:32:01.987195+00:00 app[web.1]: npm ERR! There is likely additional logging output above.
2016-02-25T01:32:01.986096+00:00 app[web.1]: npm ERR! You can get information on how to open an issue for this project with:
2016-02-25T01:32:02.950425+00:00 heroku[web.1]: State changed from starting to crashed
2016-02-25T01:32:02.940412+00:00 heroku[web.1]: Process exited with status 1
Are you sure you are following the steps precisely? It does seem to be working fine from here…
Hello Rob, i had the same error too when i tried to make a new application. On my first application everything went good.
I followed the steps more than once and i keep getting the following log errors:
2016-02-26T19:23:40.762896+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system:
2016-02-26T19:23:40.763342+00:00 app[web.1]: npm ERR! Or if that isn’t available, you can get their info via:
2016-02-26T19:23:40.763662+00:00 app[web.1]: npm ERR! There is likely additional logging output above.
2016-02-26T19:23:41.449031+00:00 heroku[web.1]: State changed from starting to crashed
2016-02-26T19:24:08.871684+00:00 heroku[router]: at=error code=H10 desc=”App crashed” method=GET path=”/favicon.ico” host=eastjerusalemptios.herokuapp.com request_id=44e64bde-adcf-4020-982b-1d0fcad5700a fwd=”22.214.171.124″ dyno= connect= service= status=503 bytes=
I was going through your course ‘Setting up Parse Server with Heroku’. Can we deploy the app into Heroku without providing credit card details ?
Nope! Heroku require them to deploy an app. You won’t be charged anything until you buy something though.
Rob this guide worked great. Could you post a similar video to how to set up the Parse Dashboard on Heroku. https://github.com/ParsePlatform/parse-dashboard
The Complete Android Developer Course
The Complete Web Developer Course
The Complete iOS9 Developer Course
The Complete Apple Watch Developer Course
© Copyright 2018 Rob Percival / Copy by Gather Creative / Powered by ConvertKit