Crafting a modern chat application
Chat applications are essential in today’s world to stay connected with your work colleagues, friends, and family. They have revolutionized how people connect, fostering personal relationships and facilitating efficient collaboration in professional settings. But carefully crafting such real-time apps can be challenging, with a lot of things to consider, like on-time message delivery, reliability, handling chat events like reply, sending voice messages and images, etc.
How to do it…
In this recipe, we’re going to build a minimalistic clone of the Instagram chat app. We will be able to communicate with our friends using this chat, check if our friends are typing, and check friends’ online status. We are going to use Angular and NestJS to handle all WebSocket events, since both frameworks have first-class support with RxJS. We will use NestJS to handle server-side handling of WebSocket communication, and, of course...