{"id":22358334,"url":"https://github.com/thedvlprs/mongo-chat","last_synced_at":"2025-07-30T12:31:45.922Z","repository":{"id":50788077,"uuid":"201264294","full_name":"thedvlprs/mongo-chat","owner":"thedvlprs","description":"Simple Node.js chat application that uses a MongoDB database to store messages and Socket.io for bi-directional communication. Although this is a simple app, the code is a bit advanced but I do try and explain things the best I can thru comments left in the code.","archived":false,"fork":false,"pushed_at":"2024-10-11T05:21:56.000Z","size":1933,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T07:52:10.134Z","etag":null,"topics":["mongodb-database","node-module","nodejs","socket-io"],"latest_commit_sha":null,"homepage":null,"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/thedvlprs.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}},"created_at":"2019-08-08T13:27:34.000Z","updated_at":"2024-10-11T05:21:53.000Z","dependencies_parsed_at":"2024-02-08T05:35:13.590Z","dependency_job_id":null,"html_url":"https://github.com/thedvlprs/mongo-chat","commit_stats":null,"previous_names":["thedvlprs/mongo-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thedvlprs/mongo-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedvlprs%2Fmongo-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedvlprs%2Fmongo-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedvlprs%2Fmongo-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedvlprs%2Fmongo-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thedvlprs","download_url":"https://codeload.github.com/thedvlprs/mongo-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedvlprs%2Fmongo-chat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267867803,"owners_count":24157357,"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-30T02:00:09.044Z","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":["mongodb-database","node-module","nodejs","socket-io"],"created_at":"2024-12-04T15:14:17.838Z","updated_at":"2025-07-30T12:31:45.503Z","avatar_url":"https://github.com/thedvlprs.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Chat App with MongoDB \u0026 Socket.io\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![GitHub contributors](https://img.shields.io/github/contributors/Naereen/StrapDown.js.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/contributors/) [![Open Source Love png1](https://badges.frapsoft.com/os/v1/open-source.png?v=103)](https://github.com/ellerbrock/open-source-badges/) [![saythanks](https://img.shields.io/badge/say-thanks-ff69b4.svg)](https://saythanks.io/to/kennethreitz)\n\n[![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://GitHub.com/Naereen/)\n\n### Simple Node.js chat application that uses a MongoDB database to store messages and Socket.io for bi-directional communication. Although this is a simple app, the code is a bit advanced but I do try and explain things the best I can thru comments left in the code. \n\n![](img/mongo-chat.png)\n\n## Installation\n\nIn the project directory, you need to download the following dependencies into your package.json file:\n\n### `npm install mongodb@^2.2.36 socket.io --save`\n\nThen run:\n\n### `npm start`\n\nMake sure that you have the following script placed within your package.json file to run thru *npm start* command line:\n\n` \"scripts\": {\n    \"start\": \"node server.js\"\n  }\n  `\n\nRuns the app in the development mode.\n\nOpen [http://localhost:4000](http://localhost:4000) to view it in the browser.\n\n## Learn More\n\nYou can learn more in the [Realtime application framework (Node.JS server)](https://github.com/socketio/socket.io)\n\nYou can learn more in the [Mongo DB Native NodeJS Driver](https://github.com/mongodb/node-mongodb-native)\n\n## Applications\n\nDownload Robomongo [Robo 3T](https://robomongo.org/)\n\n![](img/code.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedvlprs%2Fmongo-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthedvlprs%2Fmongo-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedvlprs%2Fmongo-chat/lists"}