{"id":18888522,"url":"https://github.com/collardeau/cra-firebase","last_synced_at":"2025-08-12T09:09:51.317Z","repository":{"id":86028164,"uuid":"122243024","full_name":"collardeau/cra-firebase","owner":"collardeau","description":"Create React App with Firebase integration","archived":false,"fork":false,"pushed_at":"2018-02-20T22:02:11.000Z","size":148,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T23:16:26.495Z","etag":null,"topics":["firebase","firestore","react"],"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/collardeau.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":"2018-02-20T19:10:05.000Z","updated_at":"2020-02-04T15:04:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf469752-2dfa-48a7-8508-5ba196ee6b04","html_url":"https://github.com/collardeau/cra-firebase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/collardeau/cra-firebase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collardeau%2Fcra-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collardeau%2Fcra-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collardeau%2Fcra-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collardeau%2Fcra-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/collardeau","download_url":"https://codeload.github.com/collardeau/cra-firebase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collardeau%2Fcra-firebase/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270033245,"owners_count":24515457,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"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","firestore","react"],"created_at":"2024-11-08T07:44:44.038Z","updated_at":"2025-08-12T09:09:51.282Z","avatar_url":"https://github.com/collardeau.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CRA-Firebase\n\n[Create React App](https://github.com/facebook/create-react-app)\n with some [Firebase](https://firebase.google.com/) functionality:\n\n- automatic anonymous login\n- firestore data hooks into react state via recompose\n- cloud functions set up, with a `user().onCreate` trigger to create users in firestore.\n\n## Get started\n\nClone the repo: `git clone https://github.com/collardeau/cra-firebase.git your-app`,\nand update `package.json` with your app name\n\n#### Set up Firebase\n\nYou might want to do this twice, for staging and production environments such as you have `my-app-staging` and my `my-app-production` as firebase projects:\n\n- set ut your app at https://firebase.google.com\n\n- enable anonymous login from the firebase console\n\n- enable firestore (in test mode if you don't know about security rules)\n\n- add your app configs to `src/config.js`\n\n#### Install Firebase CLI\n\nYou'll need the firebase-tools installed globally, from which you can then login to your firebase account:\n\n`npm install -g firebase-tools`\n`firebase login`\n\n#### Install the dependencies\n\n`npm install` in the root folder AND in the `functions` folder as well.\n\n**Make sure** you deploy the cloud functions before running the app, as this is used to create user profiles in firestore upon automatic login.\n\n#### Deploy Cloud Functions\n\nfrom the root folder:\n\n`firebase use` to connect the right project, then:\n\n`firebase deploy --only functions`\n\n#### Devving\n\n`npm run start` as per create-react-app.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollardeau%2Fcra-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcollardeau%2Fcra-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollardeau%2Fcra-firebase/lists"}