Hosting options for Node JS app

Highlighted
Tourist
6 0 2

Hey all!

 

Quickly browsed the tutorial here https://developers.shopify.com/tutorials/build-a-shopify-app-with-node-and-react and I've got a newbie question.

 

The tutorial has you create a custom Zeit/Koa-based server.js https://developers.shopify.com/tutorials/build-a-shopify-app-with-node-and-react but Now no longer supports custom servers and instead wants developers to use serverless functions. This would lead me to believe that while you could use the Zeit framework, it'd be tricky/maybe impossible to use Now to host the app.

 

Am I missing something? Is there a way to host a Shopify app with Now and use their serverless functions?

 

Thanks!

Mike

0 Likes
Shopify Staff
Shopify Staff
268 36 38

Hey @msukmanowsky,

 

Nice catch! I might be missing something - does the tutorial specifically mention deploying to Zeit?

0 Likes
Tourist
6 0 2

Hey @scottydont -  it does not mention deploying via Now, but considering Now is like peanut butter to Zeit's jelly, I assumed that'd be the natural way to go to production with a service like this.

 

It turns out the deployment options are a bit more complicated. I'm currently looking at using Google's Cloud Run to deploy the server but running into issues there.

 

I think it'd be great to add deployment/hosting options to the tutorial. 

1 Like