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
- Host: GitHub
- URL: https://github.com/constantin-p/datj-chat
- Owner: constantin-p
- License: mit
- Created: 2017-09-28T17:29:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-15T20:17:35.000Z (over 8 years ago)
- Last Synced: 2025-03-28T16:44:22.832Z (about 1 year ago)
- Topics: chat, java, java-8, javafx, server
- Language: Java
- Homepage:
- Size: 189 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java chat project
### Screenshots


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