An open API service indexing awesome lists of open source software.

https://github.com/constantin-p/datj-chat

Simple Java chat system
https://github.com/constantin-p/datj-chat

chat java java-8 javafx server

Last synced: about 2 months ago
JSON representation

Simple Java chat system

Awesome Lists containing this project

README

          

# Java chat project

### Screenshots

![Chat Session Overview](doc/screenshots/overview_chat.png)

![Chat Connect Screen](doc/screenshots/overview_connect.png)

### Quick Start

###### [Method A] Maven
1. Build the project: `mvn clean package`
2. Start the server: `mvn exec:java` (NOTE: [`9567`](src/main/java/util/ProtocolHandler.java#L6) is the default port)
3. Launch the client GUI: `mvn jfx:run`
---
###### [Method B] Basic
1. Server CLI: run [`server.Main`](src/main/java/client/Main.java)
2. Client GUI: run [`client.Main`](src/main/java/server/Main.java) (NOTE: [`9567`](src/main/java/util/ProtocolHandler.java#L6) is the default port)

### Protocol
Documentation at [doc/protocol.md](doc/protocol.md).

```
Client -> Server Server -> Client
---------------- ----------------
JOIN J_OK
J_ER :
DATA : DATA :
IMAV LIST
QUIT
```

## License

This project is MIT licensed.
Please see the [LICENSE](LICENSE) file for more information.