{"id":21331506,"url":"https://github.com/san-pblr-gct/socket-mongo-chat","last_synced_at":"2026-04-12T01:44:32.400Z","repository":{"id":126675408,"uuid":"126803428","full_name":"san-pblr-gct/socket-mongo-chat","owner":"san-pblr-gct","description":"Chat Application using Socket.io and Mongo db written in ES6 way.","archived":false,"fork":false,"pushed_at":"2018-03-26T11:34:10.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T14:55:19.819Z","etag":null,"topics":["es6","express","mongodb","nodejs","socket-io","socketio"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/san-pblr-gct.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":"2018-03-26T09:13:41.000Z","updated_at":"2018-03-26T11:36:54.000Z","dependencies_parsed_at":"2023-06-17T15:45:37.559Z","dependency_job_id":null,"html_url":"https://github.com/san-pblr-gct/socket-mongo-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/san-pblr-gct/socket-mongo-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san-pblr-gct%2Fsocket-mongo-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san-pblr-gct%2Fsocket-mongo-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san-pblr-gct%2Fsocket-mongo-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san-pblr-gct%2Fsocket-mongo-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/san-pblr-gct","download_url":"https://codeload.github.com/san-pblr-gct/socket-mongo-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san-pblr-gct%2Fsocket-mongo-chat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267029423,"owners_count":24024202,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"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":["es6","express","mongodb","nodejs","socket-io","socketio"],"created_at":"2024-11-21T22:34:00.568Z","updated_at":"2026-04-12T01:44:27.375Z","avatar_url":"https://github.com/san-pblr-gct.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Chat Application using Socket.io and Mongo db written in ES6 way.\n\nKey points while setting up:\nIf you are using mongo first time, please do the below steps.\n1. install mongo from their website.\n2. Create a folder /data/db in C: (Mongo works only in this folder)\n3. Go to mongo bin located inside Program files (C:\\Program Files\\MongoDB\\Server\\3.4\\bin) and open command prompt and run \"mongod\"\n4. The above step will start mongodb\n5. Open separate command window inside mongo bin and run \" mongo\"\n\n\nSome of the commands for mongo which you need to see the data.\n1. show dbs (shows all databases)\n2. db (shows which database you are in)\n3. use xxx (xxx refers to the database you want to navigate to)\n4. show collections (show collections inside the database)\n5. db.xxx.find() (To show the data inside the collection, replace xxx with the collections)\n\nMongo cheatsheet for future references\nhttps://gist.github.com/aponxi/4380516\n\n\nTo run the application\n1. install npm\n2. Also install nodemon globally \"npm install nodemon -g\"\n3. run npm start in cmd\n4. Browse the html page in firefox or host it in IIS or other web server using parcel/webpack/express. Running file directly in chrome will mess up with connecting socket and it won't work\n\nInspired from Brad traversy tutorial.\n\nFuture plans:\n1. Show list of connected users.\n2. Send screenshot using html2canvas across page.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsan-pblr-gct%2Fsocket-mongo-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsan-pblr-gct%2Fsocket-mongo-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsan-pblr-gct%2Fsocket-mongo-chat/lists"}