{"id":23876723,"url":"https://github.com/imhappykumar/any-chat","last_synced_at":"2026-04-07T21:31:59.484Z","repository":{"id":221287760,"uuid":"753029181","full_name":"ImHappyKumar/any-chat","owner":"ImHappyKumar","description":"AnyChat, a real-time chat application developed using React.js, Node.js, Socket.IO, and Firebase. Implemented Firebase Realtime Database for seamless data synchronization and integrated Firebase Authentication for secure user access.","archived":false,"fork":false,"pushed_at":"2024-03-05T04:45:47.000Z","size":1051,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T15:33:01.916Z","etag":null,"topics":["authentication","chat-application","chatapp","chatbot","firebase","firebaseauth","form-validation","nodejs","react","reactjs","realtimedatabase","socketio"],"latest_commit_sha":null,"homepage":"https://anychat-happykumar.web.app","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/ImHappyKumar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-05T10:28:51.000Z","updated_at":"2024-09-03T23:14:13.000Z","dependencies_parsed_at":"2024-02-07T06:31:19.315Z","dependency_job_id":"c77c35ca-757f-4348-8e27-47a11cccda6a","html_url":"https://github.com/ImHappyKumar/any-chat","commit_stats":null,"previous_names":["imhappykumar/any-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ImHappyKumar/any-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImHappyKumar%2Fany-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImHappyKumar%2Fany-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImHappyKumar%2Fany-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImHappyKumar%2Fany-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImHappyKumar","download_url":"https://codeload.github.com/ImHappyKumar/any-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImHappyKumar%2Fany-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31530641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["authentication","chat-application","chatapp","chatbot","firebase","firebaseauth","form-validation","nodejs","react","reactjs","realtimedatabase","socketio"],"created_at":"2025-01-03T19:29:01.735Z","updated_at":"2026-04-07T21:31:59.476Z","avatar_url":"https://github.com/ImHappyKumar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AnyChat\n\nDeveloped by Happy Kumar\n\nAnyChat is a real-time chat application built using **React.js**, **Node.js**, **Socket.IO**, and **Firebase**. It uses Firebase Realtime Database for seamless data synchronization and Firebase Authentication for secure user access.\n\n---\n\n## 🚀 Features\n- **Real-Time Chat** – Engage in real-time conversations via Socket.IO.\n- **Firebase Integration** – Real-time data sync using Firebase Realtime Database.\n- **Authentication** – Secure user login with Firebase Auth.\n- **Responsive UI** – User-friendly chat interface.\n\n---\n\n## ✅ Prerequisites\nEnsure the following are installed:\n- [Node.js](https://nodejs.org/)\n- [Git](https://git-scm.com/)\n- [Firebase Account](https://firebase.google.com/)\n\n---\n\n## 🔧 Installation\n1. **Clone this repository:**\n   ```bash\n   git clone https://github.com/ImHappyKumar/any-chat.git\n   cd any-chat\n   ```\n\n2. **Install dependencies:**\n   ```bash\n   cd client\n   npm install\n   cd ../server\n   npm install\n   ```\n\n---\n\n## ⚙️ Configuration\n\n### 🔒 1. Setup Environment Variables\n- Rename `.env.example` to `.env` in both `client/` and `server/` folders.\n- Replace placeholder values with your actual environment values.\n\n### 📁 2. Configure Firebase – Client Side\n- Replace the contents of `client/src/firebase.js.example` with your Firebase config.\n- Rename `firebase.js.example` to `firebase.js`.\n\n```js\n// client/src/firebase.js\nimport { initializeApp } from \"firebase/app\";\nimport { getAuth } from \"firebase/auth\";\n\nconst firebaseConfig = {\n  apiKey: \"YOUR_API_KEY\",\n  authDomain: \"YOUR_AUTH_DOMAIN\",\n  databaseURL: \"YOUR_DATABASE_URL\",\n  projectId: \"YOUR_PROJECT_ID\",\n  storageBucket: \"YOUR_STORAGE_BUCKET\",\n  messagingSenderId: \"YOUR_MESSAGING_SENDER_ID\",\n  appId: \"YOUR_APP_ID\"\n};\n\nconst app = initializeApp(firebaseConfig);\nexport const auth = getAuth(app);\nexport default app;\n```\n\n### 🔐 3. Configure Firebase – Server Side\n- Rename `serviceAccountKey.json.example` to `serviceAccountKey.json` and add your Firebase Admin credentials.\n- In `server/firebaseConfig.js`, make sure it looks like this:\n\n```js\n// server/firebaseConfig.js\nconst admin = require(\"firebase-admin\");\nconst serviceAccount = require(\"./serviceAccountKey.json\");\n\nadmin.initializeApp({\n  credential: admin.credential.cert(serviceAccount),\n  databaseURL: \"https://your-project-id.firebaseio.com\"\n});\n\nmodule.exports = admin;\n```\n\n### 🚀 4. Set up Firebase Hosting (Optional):\n- Rename `.firebaserc.example` to `.firebaserc`.\n- Replace the `default` project ID with your own Firebase project ID:\n  ```json\n  {\n    \"projects\": {\n      \"default\": \"your-project-id\"\n    }\n  }\n\n---\n\n## ▶️ Usage\n\n1. **Start the backend server:**\n   ```bash\n   cd server\n   npm start\n   ```\n\n2. **Start the frontend app:**\n   ```bash\n   cd client\n   npm start\n   ```\n\n3. **Open in Browser:**\n   - Visit [http://localhost:3000](http://localhost:3000)\n\n---\n\n## 🤝 Contributing\n\nFeel free to fork the repo, create a new branch, and submit a pull request. Issues and suggestions are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimhappykumar%2Fany-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimhappykumar%2Fany-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimhappykumar%2Fany-chat/lists"}