Transitioning from JavaScript to Node.js
JavaScript developers who initially focused on front-end development may transition to Node.js to become full-stack developers. This enables them to work on both the client side (browser) and server side As JavaScript developer, we know that the language is client-side, meaning it can run in a browser environment only and access browser APIs such as DOM and web APIs. What if we want to run javascript outside of a browser (client side)? Can we run javascript in server side like java? Well the answer is NO. With the help of Node.js, Javascript may now be executed on the server side. How? Let's explore what node.js is and how you can use it to run JavaScript on the server side. Node JS Node JS is itself a runtime environment for executing javascript code outside browser(Client Side) i.e, on server . It uses Chrome’s V8 javascript engine to do that. And it provides additional built-in library for handling various tasks such as file I/O, networking and HTTP operations. Because of