Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

But... How can Express application be used on a server?

I know that this could be a noob question...but really I missed it. When I have my finished application running on my pc on localhost:3000, what I need to do to upload it to a linux hosting server and be able to use it?

1 Answer

Hello Daniela,

Not a noob question at all. I had the same question. You are correct in that you'd need to upload your Express app to some sort of server in order to let the world use it.

As an example, Heroku is a popular platform to host Node/Express apps: https://www.heroku.com/

Treehouse even has a workshop on how to use Heroku: https://teamtreehouse.com/library/deploy-a-node-application-to-heroku

Hope that helps! -Brandon

Thanks Brandon, I ended up searching on Google and found some topic about it, I've also read about a workaround to install node on linux apache server using php curls. Just not tested yet...I bought a shared linux server so I've just asked them about the node installation.