According to Node.js' Beginner Guide, it can be divided into several stages:
- create a process
- listen to a TCP port
- receiving a HTTP request as a new connection
- gather data from database, or file, or somewhere else
- send data back, probably text of HTML or JSON
- close connection