{"id":21364975,"url":"https://github.com/himanshuraj98/speak-chat-app","last_synced_at":"2026-04-12T03:36:56.235Z","repository":{"id":194863779,"uuid":"689788957","full_name":"HimanshuRaj98/Speak-Chat-App","owner":"HimanshuRaj98","description":" A real-time chat application built using Node.js, Express.js, and Socket.io on the server-side, and HTML, JavaScript, and the Socket.io client library on the client-side.","archived":false,"fork":false,"pushed_at":"2023-09-14T20:10:14.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T19:48:57.555Z","etag":null,"topics":["cors","express-js","nodejs","reactjs","socket-io"],"latest_commit_sha":null,"homepage":"","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/HimanshuRaj98.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}},"created_at":"2023-09-10T22:33:33.000Z","updated_at":"2023-09-14T20:39:25.000Z","dependencies_parsed_at":"2023-09-15T13:01:39.343Z","dependency_job_id":"83bddf55-b468-4af2-9776-b44755cbf783","html_url":"https://github.com/HimanshuRaj98/Speak-Chat-App","commit_stats":null,"previous_names":["himanshuraj98/speak-chat-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanshuRaj98%2FSpeak-Chat-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanshuRaj98%2FSpeak-Chat-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanshuRaj98%2FSpeak-Chat-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanshuRaj98%2FSpeak-Chat-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HimanshuRaj98","download_url":"https://codeload.github.com/HimanshuRaj98/Speak-Chat-App/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243839368,"owners_count":20356213,"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":["cors","express-js","nodejs","reactjs","socket-io"],"created_at":"2024-11-22T07:08:46.970Z","updated_at":"2026-04-12T03:36:51.206Z","avatar_url":"https://github.com/HimanshuRaj98.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Speak-Chat-App\n## Real-Time Chat Application\n\nThis is a simple real-time chat application using Node.js, Express, and Socket.io. It includes both server-side and client-side code.\n\n## Server-side\n\n### Technologies Used\n- Node.js\n- Express.js\n- Socket.io\n- CORS (Cross-Origin Resource Sharing)\n\n### Getting Started\n\n1. Clone this repository to your local machine.\n2. Install the required Node.js packages:\n\n3. Run the server:\n\n```javascript\nconst express = require(\"express\");\nconst app = express();\nconst http = require(\"http\");\nconst cors = require(\"cors\");\nconst { Server } = require(\"socket.io\");\nconst PORT = 5000;\n\napp.use(cors());\n\nconst server = http.createServer(app);\nconst io = new Server(server, {\n  cors: {\n    origin: \"http://localhost:5173\",\n    methods: [\"GET\", \"POST\"],\n  },\n});\n\nio.on(\"connection\", (socket) =\u003e {\n  console.log(`A user connected: ${socket.id}`);\n\n  socket.on(\"send-message\", (messages) =\u003e {\n    console.log(messages);\n    io.emit(\"group-message\", messages);\n  });\n\n  socket.on(\"disconnect\", () =\u003e {\n    console.log(\"User Disconnected\");\n  });\n});\n\nserver.listen(PORT, () =\u003e {\n  console.log(`Server Running At Port ${PORT}`);\n});\n```\n\n## Client-side\n\n**Technologies Used**\n\n- HTML\n- JavaScript\n- Socket.io client library\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshuraj98%2Fspeak-chat-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimanshuraj98%2Fspeak-chat-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshuraj98%2Fspeak-chat-app/lists"}