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 trialRyan Bucci
7,553 PointsNode.js On Server?
So I just finished the Node.js section of the Full Stack Dev course, and I take extensive notes but don't recall if it was mentioned or not... do we need to install node.js on the server for our hosting provider?
How does the server know that we're using Node to handle server side requests? Without node on the server, isn't it just plain javascript?? I just don't understand. Thanks!!
1 Answer
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsYes, node.js will need to be installed on the server. Some services will install it for you, and there's a Treehouse workshop on deploying a node app to Heroku. Deploying to AWS EC2 is a bit more complex, and requires you to do more from scratch, but it's an experience worth going through, here's a tutorial on that.
Don't forget to terminate your instance when you're done the tutorial so it doesn't cost you money.
Ryan Bucci
7,553 PointsRyan Bucci
7,553 PointsThank you for sharing this, it makes more sense now. I knew there was something I had to do! Thank you!