DEV Community

Cover image for Brief Difference Between Nodejs and Express
Naveen.S
Naveen.S

Posted on

Brief Difference Between Nodejs and Express

Node, or Node.js, is a multi-platform, open source, runtime environment that allows developers to create all kinds of server-side tools and applications in JavaScript. Real-time execution is intended for use outside the context of a web browser (that is, run directly on a computer or server operating system). As such, the environment bypasses web browser-specific JavaScript APIs and adds support for more traditional operating system APIs including HTTP and file system libraries.

On the other hand, Express is the most popular Node web framework, and is the underlying library for a large number of other popular Node web frameworks.

It provides mechanisms for: - Writing request handlers with different HTTP verbs in different URL paths (routes). Integration with rendering engines of "views" to generate responses by entering data into templates. - Set web application settings such as which port to use to connect, and the location of templates used to render the response. - Add additional middleware request processing at any point within the request handling pipeline.

Top comments (0)