- Chat Room Creation: Users can create new chat rooms with unique names.
- Join Chat Room: Users can join an existing chat room using their username.
- Real-time Messaging: Once in a chat room, users can send and receive messages in real-time.
- Broadcast Messages: Messages are broadcasted to all members of the chat room.
-
Clone the Repository
git clone https://github.com/JerryR7/gRPC-Chat-Room.git
-
Install Dependencies
Navigate to the solution's root directory and run:
dotnet restore
-
Start the Server
dotnet run --project GrpcChatServer
-
Join the Chat Room (Client)
Open another terminal and execute:
dotnet GrpcChatRoomClient.dll http://localhost:5040 userName
Replace
userName
with your desired username.
- .proto File: Defines the gRPC service and message contracts.
- Server: Hosts the gRPC service that manages chat rooms and message broadcasting.
- Client: Connects to the server, joins chat rooms, and handles sending/receiving messages.
This project uses Semantic Versioning. The current version is 1.0.0. For the versions available, see the tags on this repository.
Contributions are welcome! Feel free to submit pull requests, report bugs, or request new features. Please read CONTRIBUTING.md
for guidelines on contributing.
This project is open-source and available under the MIT License. See the LICENSE file for details.