Skip to content

nikkatsa/nk-groupchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nk-groupchat

This is a Netty server using Websockets for the communication between the server and a client.

Functionality

The code provides basic functionality and the below actions:

  • Connect to the webscoket server
  • Log into the chat room, by choosing a user name
  • Send chat messages which will be broadcasted to other connected clients
  • Logout of the server

Client UI

A very basic UI can be found at /src/main/resources/index.html

![Image of Client UI] (https://github.com/nikkatsa/nk-groupchat/blob/master/src/main/resources/web/assets/ClientUI.png)

Server

The server code can be found at /src/main/java/com/nikoskatsanos/netty/groupchat

Building the server

Below are the steps for building the server. Note that the code has a dependency to nk-jutil, which is not pushed in Maven Central Repo, hence the user has to manually pull the project and build it, before building the Groupchat server.

  • Pull nk-jutil
  • Build nk-jutils by mvn clean install
  • Pull nk-groupchat
  • Build nk-groupchat by mvn clean install
  • Run .sh file in /target/appassembler/bin
  • Launch /src/main/resources/index.html

About

A netty groupchat server, based on websockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published