Posts

Showing posts from February, 2021

Building a Multiroom Chat Application in Node JS

Image
  Github: https://github.com/mehulk05/Chat-app-using-Nodejs Live Url: https://chatapp-using-node.herokuapp.com/ In this tutorial, we will use the Node.js platform to build a  real-time chat application  that sends and shows messages to a recipient instantly without any page refresh. Also, we have some validations like if the username is taken then we will have to choose some other username. If two users are in the same room then only they can see the message of each other Before we start, let’s have a quick look at the prerequisite Prerequisite: Basics of Node.js Good understanding of Javascript Basics of Jquery Node.js Node.js  is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside the browser. The most important advantage of using Node is that we can use JavaScript as both a front-end and back-end language. As we know, JavaScript was used primarily for client-side scripting, in which scripts were embedded in a webpage’s HTML and run cl