simple project with websockets, users can join to the rooms and chat with others.
- Api-server built using Go-fiber.
- FastHttp as websocket pkg.
- Docker for running application.
- Gocui command line ui.
- uuid google uuid.
- Go,Docker,Docker compose & Make should be pre-installed.
- Clone the repository:
git clone https://github.com/erfidev/chat-app
. - Run the command
make build_server
(this will build the server Dockerfile). - Run the command
make run_server
(this command run the server image). - Run the command
docker ps
to ensure server container started. - Open a new terminal & run the command
make build_client
to build the client. - run the client binary and enjoy!
- Performance improvements, bug fixes, better design approaches are welcome. Please discuss any changes by raising an issue, beforehand.
By Erfan Hanifezade 2022 Aug