I need to refactor some code that makes use of socket.io. This code was initially written by someone else. To better understand it, I decided to go through the Get Started page on socket.io’s website, which involved creating a basic chat application. I’m kind of amazed by how easy it was.
In the beginning, the tutorial says,
In this guide we’ll create a basic chat application. It requires almost no basic prior knowledge of Node.JS or Socket.IO, so it’s ideal for users of all knowledge levels.
app.module.ts file in Angular.