{"id":24576203,"url":"https://github.com/amansalman/chat-app-nodejs","last_synced_at":"2026-04-10T06:46:39.093Z","repository":{"id":273427727,"uuid":"909159051","full_name":"AmanSalman/Chat-App-NodeJS","owner":"AmanSalman","description":"A real-time group chat application built with Socket.io, Express.js, and HTML/CSS, allowing users to join chat rooms, send and receive messages, and interact in a dynamic, mobile-friendly environment.","archived":false,"fork":false,"pushed_at":"2025-01-20T20:40:55.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T21:38:18.490Z","etag":null,"topics":["expressjs","nodejs","socket-io"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/AmanSalman.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-12-27T22:16:55.000Z","updated_at":"2025-01-20T20:40:58.000Z","dependencies_parsed_at":"2025-01-20T21:38:20.334Z","dependency_job_id":"2dfbbf1e-5ae8-4ba4-8a02-179ddfc61027","html_url":"https://github.com/AmanSalman/Chat-App-NodeJS","commit_stats":null,"previous_names":["amansalman/chat-app-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanSalman%2FChat-App-NodeJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanSalman%2FChat-App-NodeJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanSalman%2FChat-App-NodeJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanSalman%2FChat-App-NodeJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmanSalman","download_url":"https://codeload.github.com/AmanSalman/Chat-App-NodeJS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244036322,"owners_count":20387494,"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":["expressjs","nodejs","socket-io"],"created_at":"2025-01-23T22:22:11.224Z","updated_at":"2025-12-30T21:04:42.112Z","avatar_url":"https://github.com/AmanSalman.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Group Chat Application\n\nThis is a simple group chat application using **Socket.IO**, **Express**, and **HTML/CSS**. The app allows users to enter their username, join a group chat, send and receive messages in real-time. The chat also features random avatar assignments for users.\n\n## Features\n\n- Real-time messaging using **Socket.IO**.\n- Avatars are dynamically assigned.\n- Responsive design that works well on both desktop and mobile.\n\n## Technologies Used\n\n- **HTML5** for structure.\n- **CSS3** for styling (with animations and responsive design).\n- **JavaScript** (with **Socket.IO**) for real-time chat functionality.\n- **Express** for serving the application.\n\n## Setup and Installation\n\n### Prerequisites\n\nBefore running the application, ensure that you have **Node.js** installed. You can download it from [here](https://nodejs.org/).\n\n### Steps to Run Locally\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/AmanSalman/Chat-App-NodeJS.git\n   cd Chat-App-NodeJS\n   ```\n2. **Install Dependencies: Install the required dependencies for both the server and client**:\n   ```bash\n   npm install\n   ```\n3. **Start the Server: To run the application locally, use the following command**:\n   ```bash\n   nodemon src/server.mjs\n   ```\n4. **This will start the Express server, and the application will be accessible at**:\n   ```bash\n   http://localhost:3000\n   ```\n## Folder Structure\n- **/public**: Contains the static files (HTML, CSS, and JavaScript files for the frontend).\n- **/handlers**: Contains server-side socket logic.\n- **app.mjs**: The Express app setup.\n- **server.mjs**: The main entry point for the application that starts the server and initializes socket handling.\n\n## Usage\n\n1. Open the application in your browser at [http://localhost:3000](http://localhost:3000).\n2. Enter a username and click **\"Start Chat\"**.\n3. Once in the chat room, type a message in the input box and click **\"Send\"**.\n4. Messages from all users will be displayed in the chat window.\n\n[Real-Time-ChatApplication.webm](https://github.com/user-attachments/assets/3d9ffd9a-b197-4fe1-bd8b-bb2f0248c395)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famansalman%2Fchat-app-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famansalman%2Fchat-app-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famansalman%2Fchat-app-nodejs/lists"}