Quick question.
Is there a way to deploy a Node/express app (with public static files/folders) using Netlify?
Please let me know.
Thanks!
Quick question.
Is there a way to deploy a Node/express app (with public static files/folders) using Netlify?
Please let me know.
Thanks!
For further actions, you may consider blocking this person and/or reporting abuse
Rajesh Dhiman -
Harsh boricha -
Safdar Ali -
Sotiris Kourouklis -
Top comments (11)
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.
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.
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.
Hi! Netlify is for static app but, good news! You can use Vercel for JS app, and deploy node app using a trick, check this -> dev.to/hte305/deploy-express-js-ap...
I've tried to deploy a Express app on Vercel, and that's work perfectly!