DEV Community

Discussion on: SvelteKit frontend + GraphQL backend hosting in the EU?

Collapse
 
gevera profile image
Denis Donici • Edited

So deploying node.js might be somewhat complicated. But once you get it, it is very easy. Basically, you need a server with Linux, install nginx with reverse proxy to the port you'll be running your app. Say 3000. And you also want pm2 for running your nose apps. Plenty of examples online. Strapi and Director both are great

Collapse
 
mandrasch profile image
Matthias Andrasch

Thanks for your reply! :-) In comparison to managed server/shared webspace options for PHP, a custom linux nodejs server still need to be managed and updated (=> security). I'm personally not into server admin stuff, but if you have these skills (or personal resources), that's great.

render.com/ offers managed node hosting and has a tutorial for the different strapi deployment strategies render.com/docs/deploy-strapi.

I guess in the future there will be more and more easy hosting options for nodejs, like the ones already existing for PHP.

Cheers!