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 trialKeith Glantz
7,146 PointsWhat's the environment for a node.js app to work on client side?
I just finished node.js basic, and built a similar app like the weather app. Instead of running it on terminal, I wonder what kind of environment I need to setup to make it work in browsers locally and on a live server?
Please list some tools/methods I need to research on, or some articles I need to read.
1 Answer
Kevin Becerra
14,243 PointsFor that project the Environment doesn't change much. If you are using that same API it would work on the browser as well. You would just need to change the code to have it be able to take an input from the browser and also have it be printed out to the browser. Now if you wanted to add some more functionality to it, depending on what exactly you want to add on to it then a setting up a server would come into play.
Kevin Becerra
14,243 PointsKevin Becerra
14,243 PointsIf servers and all that interests you I would recommend you get a little more familiar with NPM and learning how to work your way around the console. Then moving onto Express and MongoDB just because you know how node.js kinda works and you won't be as overwhelmed by it.