{"id":18256962,"url":"https://github.com/mediacomem/one-chat-room","last_synced_at":"2025-04-04T18:30:50.135Z","repository":{"id":42222186,"uuid":"165074064","full_name":"MediaComem/one-chat-room","owner":"MediaComem","description":"Real-time Node.js/Vue/Socket.io demo application","archived":false,"fork":false,"pushed_at":"2024-09-27T23:03:31.000Z","size":598,"stargazers_count":4,"open_issues_count":13,"forks_count":25,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-20T16:52:28.239Z","etag":null,"topics":["chat","chatroom","node","nodejs","real-time","realtime","socket-io","socketio","vue","vuejs"],"latest_commit_sha":null,"homepage":"https://one-chat-room.archidep.ch","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MediaComem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-10T14:28:43.000Z","updated_at":"2024-09-27T23:03:34.000Z","dependencies_parsed_at":"2023-01-26T09:31:50.592Z","dependency_job_id":null,"html_url":"https://github.com/MediaComem/one-chat-room","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fone-chat-room","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fone-chat-room/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fone-chat-room/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fone-chat-room/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MediaComem","download_url":"https://codeload.github.com/MediaComem/one-chat-room/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247229139,"owners_count":20904991,"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":["chat","chatroom","node","nodejs","real-time","realtime","socket-io","socketio","vue","vuejs"],"created_at":"2024-11-05T10:24:19.629Z","updated_at":"2025-04-04T18:30:50.124Z","avatar_url":"https://github.com/MediaComem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# One Chat Room\n\nA real-time demo application written with [Node.js](https://nodejs.org/en/), [Vue](https://vuejs.org/) and [Socket.io](https://socket.io/):\none chat room where anyone can post messages.\n\n[![build](https://github.com/MediaComem/one-chat-room/actions/workflows/build.yml/badge.svg)](https://github.com/MediaComem/one-chat-room/actions/workflows/build.yml)\n[![publish](https://github.com/MediaComem/one-chat-room/actions/workflows/publish.yml/badge.svg)](https://github.com/MediaComem/one-chat-room/actions/workflows/publish.yml)\n[![license](https://img.shields.io/github/license/MediaComem/one-chat-room)](https://opensource.org/licenses/MIT)\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n- [Installation](#installation)\n  - [Requirements](#requirements)\n  - [Setup](#setup)\n  - [Run in development mode](#run-in-development-mode)\n  - [Run in production mode](#run-in-production-mode)\n- [Configuration](#configuration)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Installation\n\n### Requirements\n\n- [Node.js](https://nodejs.org) 22+\n  - [Installation](https://nodejs.org/en/download/package-manager/)\n- [MongoDB](https://www.mongodb.com) 8+\n  - [Installation](https://docs.mongodb.com/manual/administration/install-community/)\n\n### Setup\n\n- Clone the repository\n- Install dependencies\n\n  ```\n  cd /path/to/repo\n  npm install\n  ```\n\n- Set up environment variables for [configuration](#configuration) if needed.\n\n### Run in development mode\n\n```\ncd /path/to/application\nnpm run dev\n```\n\n### Run in production mode\n\n```\ncd /path/to/application\nnpm start\n```\n\n## Configuration\n\nThe following environment variables can be set to customize the application's behavior:\n\n| Variable             | Default value                       | Description                                                                                |\n| :------------------- | :---------------------------------- | :----------------------------------------------------------------------------------------- |\n| `BASE_URL`           | _none_                              | Base URL at which the application is deployed.                                             |\n| `DATABASE_URL`       | `mongodb://localhost/one-chat-room` | [MongoDB connection string](https://docs.mongodb.com/manual/reference/connection-string/). |\n| `MONGODB_URI`        | _none_                              | Same as and takes precedence over `DATABASE_URL`.                                          |\n| `MAX_MESSAGE_LENGTH` | 500                                 | Maximum number of characters allowed in a message.                                         |\n| `MAX_MESSAGES`       | 10000                               | Maximum number of messages the application will store before deleting the oldest ones.     |\n| `PORT`               | 3000                                | Port on which to listen to.                                                                |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Fone-chat-room","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediacomem%2Fone-chat-room","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Fone-chat-room/lists"}