{"id":18601237,"url":"https://github.com/cobbyelsonfx/lets-talk","last_synced_at":"2026-04-20T03:02:05.191Z","repository":{"id":186492437,"uuid":"624431673","full_name":"CobbyElsonfx/Lets-Talk","owner":"CobbyElsonfx","description":"This is a real-time chat application built using Socket.io, Node.js, and Express.","archived":false,"fork":false,"pushed_at":"2023-08-06T10:37:39.000Z","size":2360,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-16T17:14:12.328Z","etag":null,"topics":["express","expressjs","nodejs","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/CobbyElsonfx.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-04-06T13:03:17.000Z","updated_at":"2023-04-14T13:49:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"a01f3c41-cbea-423a-9a6f-53185043dff9","html_url":"https://github.com/CobbyElsonfx/Lets-Talk","commit_stats":null,"previous_names":["cobbyelsonfx/lets-talk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CobbyElsonfx/Lets-Talk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CobbyElsonfx%2FLets-Talk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CobbyElsonfx%2FLets-Talk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CobbyElsonfx%2FLets-Talk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CobbyElsonfx%2FLets-Talk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CobbyElsonfx","download_url":"https://codeload.github.com/CobbyElsonfx/Lets-Talk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CobbyElsonfx%2FLets-Talk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32031070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["express","expressjs","nodejs","socket-io"],"created_at":"2024-11-07T02:07:37.074Z","updated_at":"2026-04-20T03:02:05.172Z","avatar_url":"https://github.com/CobbyElsonfx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat App with Socket.io\n\n![screenshot](https://www.dropbox.com/s/3rjbbq9v1t6ljau/Screenshot%202023-04-14%20at%202.46.59%20AM.png?dl=0)\n\n\n## This is a real-time chat application built using Socket.io, Node.js, and Express.\n## Live Project: https://letstalk-dvk9.onrender.com\n## Installation\n\n### To run the application locally, clone this repository and run the following command to install the necessary dependencies:\n\nnpm install\n\n## Usage\n\nTo start the server, run the following command:\n\n\nnpm start\n\nThis will start the server on http://localhost:3000.\n\nOnce the server is running, open your web browser and navigate to http://localhost:3000 to access the chat application.\nFeatures\n\n    Real-time messaging using Socket.io\n    Displays active users in the chat room\n    Displays when a user joins or leaves the chat room\n    Option to choose a username\n\n##  Technologies Used\n\n    Node.js\n    Express\n    Socket.io\n    HTML/CSS\n\n## Things I learnt during this tutorial\n1. Setting up a connection with Socket.io\n   a. Set up a normal express server. \n      i. Require the express  module and save it the variable express\n           `\n           const express = require(\"express\")\n\n           `  \n      ii. Create an instance of the express called app\n           `\n          const express = require(\"express\")\n           const  app = express()\n           `\n      iii. require the file module which will enable you to read static files(public directory )\n\n           `\n           const express = require(\"express\")\n           const  app = express()\n\n           const  path = require(\"path\")\n           `\n       iv. Set up a port you can listen  as your server on  your local maching \n       NB:The process.env.PORT checks if  there is any PORT  availbale  in the env file if not is uses the default port set for it\n           `\n           const express = require(\"express\")\n           const  app = express()\n           const  path = require(\"path\")\n\n           const port = process.env.PORT || 3000\n\n           app.use(express.static(path(_dirname,\"public\")))\n           `\n        v. Start the server\n          `app.listen(port, ()=\u003e{\n            console.log(`server started on Port ${port}`)\n          })\n          `\n         \n      b. In oder to set up a bidirectional connection with socket.io which is built on top of  websocket\n         i. Require the node module http for setting up http connection\n         ii. Require and create a websocket function called io\n\n         `\n         const server = http.createServer(app)\n         const io = socketio(server)\n         \n         `\n        \n\n\n\n       c. the qs cdn library can can be used to grab the contents of a url\n\n\n##  Credits\n\nThis project was created following the tutorial from Traversy Media on YouTube.\nLicense\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\nAuthor\n\nAndoh Francis\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobbyelsonfx%2Flets-talk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcobbyelsonfx%2Flets-talk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobbyelsonfx%2Flets-talk/lists"}