{"id":13475889,"url":"https://github.com/tiberiuc/redux-react-firebase","last_synced_at":"2025-10-28T05:07:35.988Z","repository":{"id":57351301,"uuid":"49531187","full_name":"tiberiuc/redux-react-firebase","owner":"tiberiuc","description":"Use Firebase with React and Redux in ES6","archived":false,"fork":false,"pushed_at":"2019-10-22T04:32:44.000Z","size":302,"stargazers_count":247,"open_issues_count":12,"forks_count":36,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-19T15:52:10.129Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tiberiuc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-12T21:51:07.000Z","updated_at":"2025-10-07T19:38:29.000Z","dependencies_parsed_at":"2022-08-31T03:50:27.243Z","dependency_job_id":null,"html_url":"https://github.com/tiberiuc/redux-react-firebase","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/tiberiuc/redux-react-firebase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiberiuc%2Fredux-react-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiberiuc%2Fredux-react-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiberiuc%2Fredux-react-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiberiuc%2Fredux-react-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiberiuc","download_url":"https://codeload.github.com/tiberiuc/redux-react-firebase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiberiuc%2Fredux-react-firebase/sbom","scorecard":{"id":884490,"data":{"date":"2025-08-11","repo":{"name":"github.com/tiberiuc/redux-react-firebase","commit":"004bfd20d60e6ac8c5793c7aa66b161ae6fc9f03"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":4,"reason":"Found 2/5 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T09:30:46.245Z","repository_id":57351301,"created_at":"2025-08-24T09:30:46.245Z","updated_at":"2025-08-24T09:30:46.245Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281386589,"owners_count":26492014,"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-10-28T02:00:06.022Z","response_time":60,"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":[],"created_at":"2024-07-31T16:01:24.467Z","updated_at":"2025-10-28T05:07:35.968Z","avatar_url":"https://github.com/tiberiuc.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# redux-react-firebase\nUse Firebase with React and Redux in ES6\n\n\n## Features\n- Suport for Firebase v3 (for older Firebase version use [Branch 1.x](https://github.com/tiberiuc/redux-react-firebase/tree/1.x))\n- Integrated into redux\n- Support small data ( using `value` ) or large datasets ( using `child_added`, `child_removed`, `child_changed`\n- queries support ( `orderByChild`, `orderByKey`, `orderByValue`, `orderByPriority`, `limitToLast`, `limitToFirst`, `startAt`, `endAt`, `equalTo` right now )\n- Automatic binding/unbinding\n- Declarative decorator syntax for React components\n- Support for nested props\n- Out of the box support for authentication (with auto load user profile)\n- Lots of helper functions\n\n## Install\n```\n$ npm install --save redux-react-firebase\n```\n\n## Use\n\nInclude redux-react-firebase in your store\n\n```javascript\nimport {createStore, combineReducers, compose} from 'redux'\nimport {reduxReactFirebase, firebaseStateReducer} from 'redux-react-firebase'\n\nconst rootReducer = combineReducers({\n  firebase: firebaseStateReducer\n})\nconst config = {\n  apiKey: '\u003cyour-api-key\u003e',\n  authDomain: '\u003cyour-auth-domain\u003e',\n  databaseURL: '\u003cyour-database-url\u003e',\n  storageBucket: '\u003cyour-storage-bucket\u003e'\n}\nconst createStoreWithFirebase = compose(\n    reduxReactFirebase(config),\n)(createStore)\n\n\nstore = createStoreWithFirebase(rootReducer, initialState)\n```\n\nIn the components\n```javascript\nimport React, {Component} from 'react'\nimport PropTypes from 'prop-types'\nimport {connect} from 'react-redux'\nimport {firebase, helpers} from 'redux-react-firebase'\n\nconst {isLoaded, isEmpty, dataToJS} = helpers\n\n@firebase( [\n  'todos'\n])\n@connect(\n  ({firebase}) =\u003e ({\n    todos: dataToJS(firebase, 'todos'),\n  })\n)\nclass Todos extends Component {\n\n  render() {\n    const {firebase, todos} = this.props;\n\n\n    const todosList = (!isLoaded(todos)) ?\n                          'Loading'\n                        : (isEmpty(todos) ) ?\n                              'Todo list is empty'\n                            : _.map(todos, (todo, id) =\u003e (\u003cTodoItem key={id} id={id} todo={todo}/\u003e) )\n\n    return (\n      \u003cdiv\u003e\n        \u003ch1\u003eTodos\u003c/h1\u003e\n        \u003cul\u003e\n          {todosList}\n        \u003c/ul\u003e\n        \u003cinput type=\"text\" ref=\"newTodo\" /\u003e\n        \u003cbutton onClick={handleAdd}\u003eAdd\u003c/button\u003e\n      \u003c/div\u003e\n    )\n  }\n\n}\n\n```\n\n## API\nSee [API](API.md)\n\n## Example\nYou can see a complete example [here](example)\n\n## Tests\nMocha.js is used as test runner. To run the tests, run\n\n```\nnpm run test\n```\n\n## Contributors\n- [Tiberiu Craciun](https://github.com/tiberiuc)\n- [Rahav Lussto](https://github.com/RahavLussato)\n- [Prescott Prue](https://github.com/prescottprue)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiberiuc%2Fredux-react-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiberiuc%2Fredux-react-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiberiuc%2Fredux-react-firebase/lists"}