One powerful feature of Parse is Webhooks, which lets you connect your Parse app to any server on the web to use a custom server environment rather than Parse’s hosted Cloud Code. We’re always looking for ways to make Parse easier to use, and recently, we released Node.js middlewareto make it easier to connect your Parse app to a Node.js server.
Today we’re excited to announce that we’re partnering with Heroku to make it even easier to connect your Parse app to Node.js code. If you like Parse’s Cloud Code but wish you had a full Node.js environment, this is a great solution. We’ve created a smooth experience for you to run code on either Heroku or the Parse Cloud and we’re very excited about the opportunities this combination has to offer.
To try it out, first link your Parse account with a Heroku account by visiting your Parse account settings and clicking the “Link Heroku” button.
Heroku support is integrated directly in the Parse command line tool, so you can use it just as you would for Cloud Code. “parse new” generates a small amount of initial code, and now gives you the option to use Node.js running on Heroku instead of the Cloud Code environment.
You can modify this code as you wish and deploy with “parse deploy.”