Quick question.
Is there a way to deploy a Node/express app (with public static files/folders) using Netlify?
Please let me know.
Thanks!
We're a place where coders share, stay up-to-date and grow their careers.
Quick question.
Is there a way to deploy a Node/express app (with public static files/folders) using Netlify?
Please let me know.
Thanks!
Stackfindover -
donoberry -
Sam Markham -
Mubasshir Ahmed -
Discussion (10)
Netlify Functions is the way to go!
There you can't actually send your express app, but it provides an interface to achieve the same with cloud functions. Check it out, it might suit you even better.
I saw Netlify functions in my search. I am definitely going to check this out. Thank you.
There’s not. Netlify is only for static sites, ie. sites that don’t have a server. Not in the traditional sense, that is. It does support serverless functions, although that’d require a major server-side rewrite.
If you absolutely need a traditional Node app, there are services that let you host one, although they aren’t free.
I like Netlify, so I am going to check out serverless functions. I guess this is the perfect opportunity to learn about this technology. Thanks for the tips.
Nope, but you can use serverless functions. And also can make bested routing inside function.
Thanks. I am going to check out serverless functions today.
Kinda... See this article for how to make it easier to use Express to drive the Netlify serverless functions:
netlify.com/blog/2018/09/13/how-to...
Thanks! I deployed it using Heroku.
Does anyone deployed express app in netlify. I tried with serverless-http but it was throwing handler undefined error.