{"id":26952501,"url":"https://github.com/mathur-dev1142/real-time-chat-app","last_synced_at":"2025-04-03T00:29:26.298Z","repository":{"id":237593999,"uuid":"794851637","full_name":"Mathur-Dev1142/real-time-chat-app","owner":"Mathur-Dev1142","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-02T04:51:45.000Z","size":267,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-02T19:06:23.820Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Mathur-Dev1142.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":"2024-05-02T04:51:05.000Z","updated_at":"2024-05-02T19:07:37.639Z","dependencies_parsed_at":"2024-05-02T19:06:37.500Z","dependency_job_id":"df4c3781-9f57-43ed-a188-62b8a1039b4f","html_url":"https://github.com/Mathur-Dev1142/real-time-chat-app","commit_stats":null,"previous_names":["mathur-dev1142/real-time-chat-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathur-Dev1142%2Freal-time-chat-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathur-Dev1142%2Freal-time-chat-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathur-Dev1142%2Freal-time-chat-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathur-Dev1142%2Freal-time-chat-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mathur-Dev1142","download_url":"https://codeload.github.com/Mathur-Dev1142/real-time-chat-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246916491,"owners_count":20854510,"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":[],"created_at":"2025-04-03T00:29:25.350Z","updated_at":"2025-04-03T00:29:26.257Z","avatar_url":"https://github.com/Mathur-Dev1142.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat app\n\n## Overview\n\nReal-time chat with rooms, message likes, social media auth, role-based permissions,\nfile upload, audio messages and real-time notifications.\n\nStack:\n\n- React\n- Firebase (realtime database, FCM, cloud functions)\n- Styles with Sass and Rsuite\n\n## Develop and run locally\n\n### Pull and install\n\n1. Clone this repo by running `git clone https://github.com/shelooks16/chat-app.git`\n2. Install dependencies for both cloud functions and React frontend by running `npm install \u0026\u0026 cd functions \u0026\u0026 npm install`\n\n### Important\n\nDeveloped using Node v10. However, if you have one of the latest Node\nversions, you can easily have dependecy-related errors (when running npm run start),\nfor example with `node-sass`. Feel free to update conflict packages to versions with no conflicts.\n\nThe reason for developing with Node v10 is to deploy cloud functions without any\nerror. Engine.node is set to 10 inside `functions/package.json`. When deploying\nfunctions with different version other than 10, version conflict will pop-up.\n\nIdeally, you should have `Node Version Manager` installed to easily switch between\ndifferent NodeJS versions.\n\n### Run frontend locally\n\n1. Inside `src/misc/firebase.js` replace config with your firebase project config.\n2. Get FCM vapid key for real-time notificaitons from `Firebase dashboard \u003e Cog icon \u003e Project Settings \u003e Cloud Messaging \u003e Web push certificates \u003e Key pair`\n   and put it as `fcmVapidKey` inside `src/misc/firebase.js`.\n3. Run `npm run start` and develop :)\n\nIf you have problems with `node-sass`, just update the package to other version.\n\n### Run functions locally\n\n1. Download a service account from `Firebase dashboard \u003e Cog icon \u003e Project Settings \u003e Service accounts \u003e Generate new private key`.\n2. Put the file as `functions/service-account.json`\n3. Run `npm run start` from `functions`\n\n## Deployment\n\n1. Install firebase-cli by running `npm install -g firebase-tools`\n2. Run `firebase deploy`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathur-dev1142%2Freal-time-chat-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathur-dev1142%2Freal-time-chat-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathur-dev1142%2Freal-time-chat-app/lists"}