{"id":19552182,"url":"https://github.com/simonewebdesign/real-time-web-chat","last_synced_at":"2026-05-08T07:33:16.851Z","repository":{"id":9317439,"uuid":"11159896","full_name":"simonewebdesign/real-time-web-chat","owner":"simonewebdesign","description":"A chat server and client built with Node, Socket.io, Express and MongoDB. Hosted on OpenShift","archived":false,"fork":false,"pushed_at":"2016-10-30T21:49:38.000Z","size":6828,"stargazers_count":3,"open_issues_count":20,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-25T16:46:04.667Z","etag":null,"topics":["chat","mongodb","nodejs","openshift","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/simonewebdesign.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}},"created_at":"2013-07-03T19:51:07.000Z","updated_at":"2021-08-05T10:06:58.000Z","dependencies_parsed_at":"2022-08-29T07:51:28.010Z","dependency_job_id":null,"html_url":"https://github.com/simonewebdesign/real-time-web-chat","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/simonewebdesign/real-time-web-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonewebdesign%2Freal-time-web-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonewebdesign%2Freal-time-web-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonewebdesign%2Freal-time-web-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonewebdesign%2Freal-time-web-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonewebdesign","download_url":"https://codeload.github.com/simonewebdesign/real-time-web-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonewebdesign%2Freal-time-web-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32771041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chat","mongodb","nodejs","openshift","socket-io"],"created_at":"2024-11-11T04:17:12.561Z","updated_at":"2026-05-08T07:33:16.823Z","avatar_url":"https://github.com/simonewebdesign.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RTC - Real Time Chat\n\nCrafted with NodeJS, ExpressJS and Socket.io.\n\n## Getting started\n\n[Download the application](https://github.com/simonewebdesign/real-time-web-chat/archive/master.zip), or clone the repository:\n\n    $ git clone https://github.com/simonewebdesign/real-time-web-chat.git rtwc\n\nGo into the folder and start the server:\n\n    $ cd rtwc\n    $ npm start\n\n## Documentation\n\n[See here](http://rtwc-simone.rhcloud.com/docs).\n\nRepo layout\n-----------\n\n| File/Folder                         | Description                            |\n| ---------------------------------   | -------------------------------------- |\n| node_modules/                       | Any Node modules packaged with the app |\n| package.json                        | npm package descriptor                 |\n| .openshift/                         | Openshift specific files               |\n| .openshift/action_hooks/pre_build   | Script that gets run every git push before the build\n| .openshift/action_hooks/build       | Script that gets run every git push as part of the build process (on the CI system if available)\n| .openshift/action_hooks/deploy      | Script that gets run every git push after build but before the app is restarted\n| .openshift/action_hooks/post_deploy | Script that gets run every git push after the app is restarted\n\n\nNotes about layout\n------------------\nPlease leave the `node_modules` and `.openshift` directories but feel free to\ncreate additional directories if needed.\n\n*Note*: Every time you push, everything in your remote repo dir gets recreated.\nPlease store long term items (like an sqlite database) in the OpenShift data directory, which will persist between pushes of your repo.\nThe OpenShift data directory is accessible relative to the remote repo directory (../data) or via an environment variable `OPENSHIFT_DATA_DIR`.\n\n\nEnvironment Variables\n---------------------\nOpenShift provides several environment variables to reference for ease\nof use.  The following list are some common variables but far from exhaustive:\n\n    process.env.OPENSHIFT_GEAR_NAME  - Application name\n    process.env.OPENSHIFT_GEAR_DIR   - Application dir\n    process.env.OPENSHIFT_DATA_DIR  - For persistent storage (between pushes)\n    process.env.OPENSHIFT_TMP_DIR   - Temp storage (unmodified files deleted after 10 days)\n\nWhen embedding a database using 'rhc app cartridge add', you can reference environment\nvariables for username, host and password:\n\n    process.env.OPENSHIFT_DB_HOST      - DB Host\n    process.env.OPENSHIFT_DB_PORT      - DB Port\n    process.env.OPENSHIFT_DB_USERNAME  - DB Username\n    process.env.OPENSHIFT_DB_PASSWORD  - DB Password\n\nWhen embedding a NoSQL database using 'rhc app cartridge add', you can reference environment\nvariables for username, host and password:\n\n    process.env.OPENSHIFT_NOSQL_DB_HOST      - NoSQL DB Host\n    process.env.OPENSHIFT_NOSQL_DB_PORT      - NoSQL DB Port\n    process.env.OPENSHIFT_NOSQL_DB_USERNAME  - NoSQL DB Username\n    process.env.OPENSHIFT_NOSQL_DB_PASSWORD  - NoSQL DB Password\n\nTo get a full list of environment variables, simply add a line in your\n`.openshift/action_hooks/build` script that says \"export\" and push.\n\n\n### List of globally installed and available npm modules\n\n#### DB drivers:\n- mongodb\n- mysql\n- pg\n\n#### Other modules (including frameworks, middleware etc):\n- async\n- connect\n- express\n- formidable\n- generic-pool\n- hashish\n- mime\n- mkdirp\n- node-static\n- qs\n- traverse\n\n## Test Suite\n\nFirst install [Jasmine](https://jasmine.github.io/):\n\n    $ npm install jasmine-node -g\n\nThen you can run the test suite with:\n\n    $ jasmine-node . --autotest --watch spec\n\nOr with [RequireJS](http://requirejs.org/):\n\n    $ jasmine-node --runWithRequireJs --requireJsSetup spec/requirejs-setup.js spec\n\nIf you want Jasmine to automatically rerun the whole test suite when a file changes, use:\n\n    $ jasmine-node . --verbose --runWithRequireJs --requireJsSetup spec/requirejs-setup.js --autotest --watch spec\n\n--\n\nThis application is Open Source software released under the [MIT license](http://opensource.org/licenses/MIT). Kudos to [Nettuts+](http://net.tutsplus.com/tutorials/javascript-ajax/real-time-chat-with-nodejs-socket-io-and-expressjs/) and [OpenShift](https://www.openshift.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonewebdesign%2Freal-time-web-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonewebdesign%2Freal-time-web-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonewebdesign%2Freal-time-web-chat/lists"}