How does the node js server work?

Node is completely event-driven. Basically the server consists of one thread processing one event after another . A new request coming in is one kind of event. The server starts processing it and when there is a blocking IO operation, it does not wait until it completes and instead registers a callback function.24 Ara 2015

Read more

How does a NodeJS application work?

It is a used as backend service where javascript works on the server-side of the application . This way javascript is used on both frontend and backend. Node. js runs on chrome v8 engine which converts javascript code into machine code, it is highly scalable, lightweight, fast, and data-intensive.

Read more