Introduction to Node JS
L et's talk about node js; the most powerful JavaScript platform. Node JS is a JavaScript runtime environment. Okay! Sounds good. Right? But what does that mean? Node JS runtime environment includes everything that we want to execute a program written in JavaScript. Node JS came into existence intending to create real-time websites with WebSockets. It is an open-source, free, cross-platform runtime environment for developing server-side and networking applications. Why Should I Use Node JS? Extremely Fast Node JS is created on Google Chrome's JavaScript Engine(V8 Engine). So in code execution, its library is really fast. I/O is Event-Driven and Asynchronous All APIs of the Node JS library are asynchronous. Because of that Node JS based server never waits for an API to return data. The server goes to the next API after calling it and a Node JS notification mechanism events support the server to get a response from a previous API c...