a minimal command-line chat application written in JAVA and using RabbitMQ.
- Distributed architecture (client-server).
- messages history (for broadcasted messages).
- Private and broadcast messages.
- User-friendly and simple usage.
- RabbitMQ server : https://www.rabbitmq.com
- Java 8 or higher: https://www.oracle.com/fr/java/technologies/javase-downloads.html
Before starting the application, run your rabbitMQ server
$ rabbitmq-server
then, start the application server with the provided shell script
$ ./startServer.sh
now you can run as many client as you want using the provided shell script
$ ./startClient.sh
--b <message> : to broadcast message to all connected clients
--p <name> <message> : to send a private message to a specific client
--q : to leave the chat
--h : to display help