Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript Build a Simple Dynamic Site with Node.js Creating a Simple Server in Node.js Preparing & Planning

Ginger Williams
Ginger Williams
6,409 Points

How does a node server work?

When I think of a server I envision hardware. What is a node 'server' and how does it work exactly?

3 Answers

Kevin Korte
Kevin Korte
28,111 Points

Denis is correct, a server that runs node, is still just a server. Node.js is just a "framework" written in javascript, that runs on physical hardware, to do server stuff.

Kenneth Kim
Kenneth Kim
3,795 Points

Just like what they said, a node server is just like any other regular server but is implemented using JavaScript. If your question concerns more about what a server is, basically it's something that is present in the back-end side of things which conducts a lot of processes involving several technologies that can send and receive information from a client. If you want to know more, there are a lot of resources that you can find in the web :)

Denis Udovcic
Denis Udovcic
13,649 Points

Node.js is not a server, imagine it just as an extension of Javascript to communicate with servers.