In the previous section, we saw how we can configure Kotlin so that it can be used with Node.js. We also created our first Node.js app using Kotlin. Now, it's time to take a deep dive into Kotlin and build a bigger app. Our chat app will have following functionalities:
- User can log in by entering their nickname
- User can see the list of online users
- User will get notified when a new user joins
- User can receive chats from anyone
- User can perform a group chat in a chat room
- User will receive a notification when any user leaves the chat
To visualize the app we will be developing, take a look at the following screenshots.
The following screenshot is a page where the user will enter a nickname and gain an entry in our chat app:
In the following screen, you can see a chat window and a list of online users:
We have slightly configured this application...