What am I supposed to use node.js for if everything is handled by Express.js?
by TheIndependentAquarius from LinuxQuestions.org on (#5ACDA)
I have understood that Express.js is a framework based on Node.js. It is like Qt which is a framework based on C++.
So, if we want a GUI we use Qt( based on C++ ) and if we want to deal with hardware and don't want any GUI we use C++ directly.
Now similarly Express js is used to send and receive data from client to and fro server and to display forms in client browser we can connect Angular to Express.js.
Now my question in which cases do we need to avoid Express.js and work directly with Node.js, like we avoid Qt and use C++ directly when interacting with hardware?
Please clear my misunderstandings or understanding gaps.


So, if we want a GUI we use Qt( based on C++ ) and if we want to deal with hardware and don't want any GUI we use C++ directly.
Now similarly Express js is used to send and receive data from client to and fro server and to display forms in client browser we can connect Angular to Express.js.
Now my question in which cases do we need to avoid Express.js and work directly with Node.js, like we avoid Qt and use C++ directly when interacting with hardware?
Please clear my misunderstandings or understanding gaps.