Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Kotlin Blueprints

You're reading from   Kotlin Blueprints A practical guide to building industry-grade web, mobile, and desktop applications in Kotlin using frameworks such as Spring Boot and Node.js

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher Packt
ISBN-13 9781788390804
Length 260 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (3):
Arrow left icon
Akshay Chordiya Akshay Chordiya
Author Profile Icon Akshay Chordiya
Akshay Chordiya
Ashish Belagali Ashish Belagali
Author Profile Icon Ashish Belagali
Ashish Belagali
Hardik Trivedi Hardik Trivedi
Author Profile Icon Hardik Trivedi
Hardik Trivedi
Arrow right icon
View More author details
Toc

Creating a chat application

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime