GithubHelp home page GithubHelp logo

grpc-chat-room's Introduction

Telegram Bot Logo

.NET 7.0 gRPC Chat Room

Version 1.0.0 .NET Core 3.1

GrpcChatRoom is a simple, yet powerful chat room application built using .NET 7.0 and gRPC. It leverages the bi-directional streaming feature of gRPC to enable real-time communication between users.

Features

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

Prerequisites

How to Run

  1. Clone the Repository

    git clone https://github.com/JerryR7/gRPC-Chat-Room.git
  2. Install Dependencies

    Navigate to the solution's root directory and run:

    dotnet restore
  3. Start the Server

    dotnet run --project GrpcChatServer
  4. Join the Chat Room (Client)

    Open another terminal and execute:

    dotnet GrpcChatRoomClient.dll http://localhost:5040 userName

    Replace userName with your desired username.

Project Structure

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

Versioning

This project uses Semantic Versioning. The current version is 1.0.0. For the versions available, see the tags on this repository.

Contributing

Contributions are welcome! Feel free to submit pull requests, report bugs, or request new features. Please read CONTRIBUTING.md for guidelines on contributing.

License

This project is open-source and available under the MIT License. See the LICENSE file for details.


grpc-chat-room's People

Contributors

jerryr7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.