Use Node.JS WebSocket protocol instead of a request-response architecture with Socket.IO to handle users connecting to the chat application, along with the messages they send and receive.
Shoutout to Codedex.io for their amazing tutorial on this one! ✌
Open a new terminal to install all of the dependencies project running:
npm install
In order to test the app run:
npm run serve
-
Understand What the WebSocket protocol is, and how it differs from a request-response architecture.
-
How to use Socket.IO to handle users connecting to the chat application, along with the messages they send and receive.
-
Improve my Node.Js skills using async/wait, promises and Express.Js
I'm currently building a database with MongoDB to scalate the project in order to store all of the messages instead of using a chat history array on every session.
Also, I'll improve the front-end UI with Next.JS