{"id":21193952,"url":"https://github.com/simran1002/realtime-sms","last_synced_at":"2026-04-18T04:02:34.541Z","repository":{"id":249979322,"uuid":"831862744","full_name":"simran1002/Realtime-SMS","owner":"simran1002","description":"This project is a Node.js application that interacts with Firebase to fetch and format SMS data from Firebase Realtime Database and provides an API to sum up all amounts in the SMS collection using Firebase Cloud Functions.","archived":false,"fork":false,"pushed_at":"2024-07-24T11:05:27.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T21:25:57.199Z","etag":null,"topics":["firebase","firebase-admin-sdk","nodejs","realtime-database"],"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/simran1002.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-07-21T20:37:51.000Z","updated_at":"2024-07-24T11:12:56.000Z","dependencies_parsed_at":"2024-07-24T13:59:07.696Z","dependency_job_id":"ec2fbeb4-175d-4343-89be-e9a35bbce48a","html_url":"https://github.com/simran1002/Realtime-SMS","commit_stats":null,"previous_names":["simran1002/realtime-sms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simran1002/Realtime-SMS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simran1002%2FRealtime-SMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simran1002%2FRealtime-SMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simran1002%2FRealtime-SMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simran1002%2FRealtime-SMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simran1002","download_url":"https://codeload.github.com/simran1002/Realtime-SMS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simran1002%2FRealtime-SMS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31955919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["firebase","firebase-admin-sdk","nodejs","realtime-database"],"created_at":"2024-11-20T19:18:24.741Z","updated_at":"2026-04-18T04:02:34.518Z","avatar_url":"https://github.com/simran1002.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Realtime SMS Project\n\nThis project is a Node.js application that interacts with Firebase to fetch and format SMS data from Firebase Realtime Database and provides an API to sum up all amounts in the SMS collection using Firebase Cloud Functions.\n\n## Project Setup\n\n### Prerequisites\n\n- Node.js\n- Firebase CLI\n- A Firebase project\n\n### Step 1: Clone the Repository\n\ngit clone https://github.com/simran1002/Realtime-SMS.git\n\ncd realtime-sms\n\n### Step 2: Install Dependencies\nnpm install\n\n### Step 3: Configure Environment Variables\nCreate a .env file in the root of your project directory\n\ntouch .env\n\nAdd your Firebase Realtime Database URL to the .env file\n\n### Step 4: Initialize Firebase Admin SDK\nIn the Firebase Console, navigate to \"Project Settings\" \u003e \"Service accounts\" \u003e \"Generate new private key\".\n\nDownload the JSON file and save it in the project directory as serviceAccountKey.json.\n\n### Step 5: Fetch and Format SMS Data\nRun the script to fetch data from the sms collection, format the timestamp, and save it to the formatted_sms collection:\n\nProject Structure\n\n```bash\nRealtime-SMS/\n│\n├── .env\n├── functions/\n│   ├── index.js\n├── serviceAccountKey.json\n├── firebaseAdmin.js\n├── index.js\n├── package.json\n└── README.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimran1002%2Frealtime-sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimran1002%2Frealtime-sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimran1002%2Frealtime-sms/lists"}