{"id":19684952,"url":"https://github.com/boolfalse/socialapp-firebase-functions","last_synced_at":"2026-04-08T16:01:52.390Z","repository":{"id":200872343,"uuid":"264304662","full_name":"boolfalse/socialapp-firebase-functions","owner":"boolfalse","description":"SocialApp React-Firebase functions","archived":false,"fork":false,"pushed_at":"2021-09-08T21:48:19.000Z","size":147,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-27T08:08:48.540Z","etag":null,"topics":["firebase","firebase-functions","firebase-realtime-database","mern-stack","nodejs","reactjs"],"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/boolfalse.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}},"created_at":"2020-05-15T21:42:27.000Z","updated_at":"2023-10-17T23:14:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4bd6387-9ec6-434b-b432-fe5166addea2","html_url":"https://github.com/boolfalse/socialapp-firebase-functions","commit_stats":null,"previous_names":["boolfalse/socialapp-firebase-functions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boolfalse/socialapp-firebase-functions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolfalse%2Fsocialapp-firebase-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolfalse%2Fsocialapp-firebase-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolfalse%2Fsocialapp-firebase-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolfalse%2Fsocialapp-firebase-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boolfalse","download_url":"https://codeload.github.com/boolfalse/socialapp-firebase-functions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boolfalse%2Fsocialapp-firebase-functions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":["firebase","firebase-functions","firebase-realtime-database","mern-stack","nodejs","reactjs"],"created_at":"2024-11-11T18:19:32.030Z","updated_at":"2026-04-08T16:01:52.365Z","avatar_url":"https://github.com/boolfalse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n### SocialApp Firebase Functions\n\n[Full Stack React \u0026 Firebase Tutorial - Build a social media app](https://www.youtube.com/watch?v=m_u6P5k0vP0)\n---\n\n### Requirements\n\n- Node.JS (\u003e= version 8) and NPM installed \n\n\n\n### Installation\n\n- **Step 1 (download the project)**\n\u003cbr /\u003e Run \"npm i -g firebase-tools\" (install Firebase CLI)\n\u003cbr /\u003e Login \"firebase login\" (login/logout to the Firebase CLI)\n\u003cbr /\u003e Clone repository\n\u003cbr /\u003e cd into the \"functions\" folder\n\u003cbr /\u003e Run \"npm i\" (for installing 'node_modules')\n\n- **Step 2 (add ignored/required files)**\n\u003cbr /\u003e .firebaserc (project_id information)\n\u003cbr /\u003e firebase.json (empty JSON object in the file)\n\u003cbr /\u003e functions/.env (project, web-app environment variables)\n\u003cbr /\u003e functions/config/firebase-adminsdk-sa-pk.json (Firebase Admin SDK configurations. Generate config file from here: Firebase Console \u003e Settings \u003e Project Settings \u003e Service Accounts)\n\n- **Step 3 (run the project)**\n\u003cbr /\u003e Run \"firebase serve\" (for development/local)\n\u003cbr /\u003e Run \"firebase deploy\" (for production)\n\n- **Step 4 (use this collection)**\n\u003cbr /\u003e [Published Postman Collection](https://documenter.getpostman.com/view/1747137/Szt5frC6)\n\n### Resources\n\n- [Firebase console](https://console.firebase.google.com/)           \n- [Firebase cloud functions](https://console.cloud.google.com/functions/list?project=_)\n- [Firebase hosting enabled (hosting can be set up anytime)](https://firebase.google.com/docs/hosting/?authuser=0)\n- [Firebase for web (Get Started)](https://firebase.google.com/docs/web/setup?authuser=0)\n- [Firebase for web (Web SDK API Reference)](https://firebase.google.com/docs/reference/js/?authuser=0)\n- [Firebase for web (Samples)](https://firebase.google.com/docs/samples/?authuser=0)\n\n- [JS three dots](https://medium.com/@oprearocks/what-do-the-three-dots-mean-in-javascript-bc5749439c9a)\n- [NodeJS Firestore where query](https://stackoverflow.com/questions/52104687/why-is-firestore-where-query-not-working)\n\n### Useful Links\n\n- [How to update a single firebase firestore document](https://stackoverflow.com/a/49682615/7574023)\n- [Permission denied in Firebase Realtime Database](https://github.com/firebase/quickstart-js/issues/239)\n- [Firebase Permission Denied](https://stackoverflow.com/a/37404116/7574023)\n- [File upload with filestreams and Firebase cloud functions + cloud storage](https://stackoverflow.com/a/59961640/7574023)\n- [Mapping Firebase Auth users to Firestore Documents](https://stackoverflow.com/a/46876181/7574023)\n- [Cloud Firestore Security Rules](https://firebase.google.com/docs/firestore/security/get-started)\n- [Firebase Security Rules](https://firebase.google.com/docs/rules/get-started?authuser=0)\n- [HTTP Error: 401 while setting up firebase cloud functions](https://stackoverflow.com/a/52891586/7574023)\n\n### TODOs\n\n- Replace \"handler\" to \"controller\".\n- Replace \"then-catch\" to \"async-await\".\n- Change Firebase server Node version (now it's 8).\n- Make all responses with defined standard.\n\n### Author \u0026 Contributors\n\n**Start: 16.05.2020**\n\n- [boolfalse](https://github.com/boolfalse)\n- [Albert](https://github.com/AlbertHovhannisyan)\n- [Arakel](https://github.com/Arakel2811)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboolfalse%2Fsocialapp-firebase-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboolfalse%2Fsocialapp-firebase-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboolfalse%2Fsocialapp-firebase-functions/lists"}