Monthly Archives: October 2014

Node.js Chat Application – Part 2

Hello again and welcome to the second part of my Node.js (multi room) chat application.
On the previous part of this tutorial we’ve created a simple web application server using the Express module.
This time I’d like to show you how to make our server serve static files.
In addition I’ll introduce Socket.io and demonstrate a simple client-server communication.

You can find the first part of the tutorial here.
The complete code can be found here.
The code for this part can be found here.
The code for each part of the tutorial can be found under the ‘tutorials’ folder. Continue reading

Node.js Chat Application – Part 1

I’m writing this tutorial as I’m learning, so this tutorial is intended for beginners.
I know there are tons of node.js tutorials out there; However, I’ve always wanted to write a tutorial of my own, plus I really liked the outcome of the chat application I wrote, therefore I have decided to publish this tutorial.

The complete code can be found here.
The code for this part can be found here.
The code for each part of the tutorial can be found under the ‘tutorials’ folder.

I hope you’ll enjoy and like this tutorial.
Either way please leave a comment! 🙂 Continue reading