reference for the project taken from node.js documentation
https://nodejs.org/api/net.html#class-netserver
taking input from console(terminal) using readline module
https://nodejs.org/api/readline.html#class-readlinepromisesinterface
tty module is to create interactive UI for terminal
https://nodejs.org/api/tty.html#writestreamclearlinedir-callback
follow up for more better application
can ask for each client a custom user-name which will be reflected throughout their activity
adding reply,edit functionality for already sent message
authentication, security that it can verify user