Home

Awesome

Chat gRPC

Chat gRPC is a real-time chat service built entirely in Rust using gRPC (Google Remote Procedure Call). It follows a microservice architecture with two main components:

The project is fully asynchronous, ensuring high performance and responsiveness. A Terminal User Interface (TUI) is provided to interact with the service.

Video Showcase

grab-landing-page

Installation

Requirements

npm install -g bunyan

Set up repo

git clone git@github.com:Atheer2104/chat-grpc.git
cd chat-grpc

Now we will create PostgreSQL and Redis containers using docker, these containers can be stopped and restarted from the docker desktop for further usage.

auth/scripts/init_db.sh 
auth/scripts/init_redis.sh 

Usage

cargo run --release --bin auth-server | bunyan
cargo run --release --bin chat-server | bunyan

Now you can start one or more clients by having a separate terminal window for each client navigating to cd chat-grpc/client and starting the client with

cargo run --release --bin chat-client

Technology

Main Technologies used

License

The project is licensed under the MIT license

See LICENSE for more information.