Share on facebook
Facebook
Share on twitter
Twitter

Hands-On: Build a Node.js-powered Chatroom Web App (Part Three)

This Node.js tutorial series will help you build a Node.js powered real-time chatroom web app fully deployed in the cloud. Throughout the series, you will learn how to setup Node.js on your Windows machine, how to develop a web frontend with express, how to deploy a node express apps to Azure, how to use socketio to add a real-time layer and how to deploy it all together. Level: Beginner to Intermediate–you are expected to know HTML5 and JavaScript Part 3 – Building a Chatroom Backend with Node.js, Socket.IO and Mongo Welcome to Part 2 of the hands-on Node.js tutorial series: Build a Node.js-powered chatroom web app.  In this installment, I will show you how to use your existing express-based Node.js app to create a chatroom backend with WebSocket support. What are WebSockets? What is Socket.IO? WebSocket is a protocol designed to allow web applications to create a full-duplex channel over TCP (i.e. to have bi-directional communication) between the web browser and a web server. It is fully compatible with HTTP and uses TCP port number 80. WebSocket has allowed web applications to become real-time and support advanced interactions between the client and the server. It is supported by several browsers […]

X