{"id":21880935,"url":"https://github.com/mohamed-adel23/real-time-chat-app","last_synced_at":"2025-10-08T19:31:28.719Z","repository":{"id":257706569,"uuid":"858862083","full_name":"Mohamed-Adel23/Real-Time-Chat-App","owner":"Mohamed-Adel23","description":"This application is a scalable, real-time chat system built using modern web technologies and distributed systems principles.","archived":false,"fork":false,"pushed_at":"2024-09-19T11:55:33.000Z","size":1138,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-28T09:16:54.352Z","etag":null,"topics":["backend","chat-application","database","distributed-systems","docker","frontend","http-server","real-time","redis","server-side","software-engineering","websocket"],"latest_commit_sha":null,"homepage":"https://bnadel.hashnode.dev/building-a-scalable-real-time-chat-application-a-journey-through-websockets","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mohamed-Adel23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-17T16:57:18.000Z","updated_at":"2024-09-21T15:18:27.000Z","dependencies_parsed_at":"2024-09-18T07:25:04.109Z","dependency_job_id":null,"html_url":"https://github.com/Mohamed-Adel23/Real-Time-Chat-App","commit_stats":null,"previous_names":["mohamed-adel23/real-time-chat-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-Adel23%2FReal-Time-Chat-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-Adel23%2FReal-Time-Chat-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-Adel23%2FReal-Time-Chat-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamed-Adel23%2FReal-Time-Chat-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mohamed-Adel23","download_url":"https://codeload.github.com/Mohamed-Adel23/Real-Time-Chat-App/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235749080,"owners_count":19039343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","chat-application","database","distributed-systems","docker","frontend","http-server","real-time","redis","server-side","software-engineering","websocket"],"created_at":"2024-11-28T09:16:59.506Z","updated_at":"2025-10-08T19:31:20.836Z","avatar_url":"https://github.com/Mohamed-Adel23.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Real-Time Distributed Chat Application\n\nA scalable, real-time chat application built with WebSockets, HAProxy, and Redis.\n\n\u003e You can check the blog post from [**here**](https://bnadel.hashnode.dev/building-a-scalable-real-time-chat-application-a-journey-through-websockets)\n\n## Features\n\n- Real-time messaging using WebSockets\n- Load balancing with HAProxy\n- Distributed message handling with Redis pub/sub\n- Simple web interface for chat\n- Dockerized components for easy deployment\n\n## Prerequisites\n\n- Docker for containerization\n- Node.js (for local development)\n\n## Installation\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/Mohamed-Adel23/Real-Time-Chat-App.git\n   cd live-chat\n   ```\n\n2. Build the Docker images:\n   ```\n   docker build -f Dockerfile.front -t chatfront .\n   docker build -f Dockerfile.back -t wsapp .\n   ```\n\n## Running the Application\n\n1. Start the application using Docker Compose:\n   ```\n   docker-compose up\n   ```\n\n2. Access the chat application in your web browser:\n   ```\n   http://localhost:1007\n   ```\n\n## Project Structure\n\n- `chat-front/`: Contains the web interface\n- `app/`: WebSocket server implementation\n- `haproxy/`: HAProxy configuration\n- `docker-compose.yml`: Defines the multi-container Docker application\n\n## Contributing 🚀\n\nContributions are welcome! Please feel free to submit a Pull Request 😇\n\n## Author\n- [Mohamed Adel Elsayed](https://www.linkedin.com/in/mohamed2-adel/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamed-adel23%2Freal-time-chat-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohamed-adel23%2Freal-time-chat-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamed-adel23%2Freal-time-chat-app/lists"}