Giter VIP home page Giter VIP logo

consoleconnect-app's Introduction

๐Ÿš€ Console-Connect-App โœจ

Problem Statement: 
     Create a simple real-time chat application where users can join different chat rooms or create their own chat rooms. 
     Users should be able to send and receive messages in real-time. 
Functional Requirements: 
1. Allow users to create/join chat rooms by entering a unique room ID. 
2. Enable users to send and receive messages in real-time within a chat room. 
3. Display a list of active users in the chat room. 
4. Implement a private messaging feature between users. 
5. Implement message history, so the chat persists even if the user leaves and rejoins.
Key Focus: 
1. Behavioral Pattern: Use the Observer Pattern to notify clients of new messages or user activities.
2. Creational Pattern: Use Singleton to manage the state of the chat rooms.
3. Structural Pattern: Use the Adapter Pattern to allow the system to work with different types of client communication protocols (WebSocket, HTTP, etc.).
4. OOP: Apply encapsulation, polymorphism, and inheritance effectively.

Adding Client 1 And Sending Messages

Adding Client 2 & 3 And Getting Chat History And Sending Messages

Handling The Usecase When User With Same Username Enters The Chatroom

User Left Or Disconnect From Chatroom

๐Ÿƒ Run Locally

Clone the project

git clone https://github.com/Jugal1011/ConsoleConnect-App.git

Pull docker image from dockerhub

docker pull jugal1011/console_connect_app:v3.0

Running the docker image

docker run -it jugal1011/console_connect_app:v3.0

consoleconnect-app's People

Contributors

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