How to build a website on Node.js?

You should think of Node.js as some kind of Apache + PHP, meaning that you can program your website and your webserver with Node.

Node has some important differences with your basic PHP, it's evented, asynchronous, non-blocking. You have to learn how to deal with callbacks, don't block the event loop and other things.

What you should do is try to learn the basic stuff with Node at the beginning, here are some great resources: https://stackoverflow.com/tags/node.js/info (my favorite has been nodetuts.com and the excellent book by it's author, Hands on Node).

After you've learned the basics, you can find Express really useful as a web framework and Socket.IO if your app is focused on real-time.


I think you're searching for a node.js jump start to build some meaningful web page with node. Take a look at express, which is a node web framework. They offer a nice but short tutorial (under guide).