{"id":13403195,"url":"https://github.com/kriasoft/react-firebase-starter","last_synced_at":"2026-10-19T00:10:33.922Z","repository":{"id":1090352,"uuid":"37616442","full_name":"kriasoft/react-firebase-starter","owner":"kriasoft","description":"Boilerplate (seed) project for creating web apps with React.js, GraphQL.js and Relay","archived":false,"fork":false,"pushed_at":"2024-01-04T13:51:54.000Z","size":5102,"stargazers_count":4511,"open_issues_count":134,"forks_count":751,"subscribers_count":87,"default_branch":"master","last_synced_at":"2026-09-27T03:29:36.620Z","etag":null,"topics":["boilerplate","create-react-app","firebase","firebase-functions","firestore","gcp","graphql","hmr","javascript","postgresql","react","reactjs","relay","relay-modern","seo","server-side-rendering","serverless","spa","ssr","styled-components"],"latest_commit_sha":null,"homepage":"https://firebase.reactstarter.com","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/kriasoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"koistya","open_collective":"react-firebase-starter"}},"created_at":"2015-06-17T19:33:23.000Z","updated_at":"2026-09-22T07:44:47.000Z","dependencies_parsed_at":"2024-01-09T14:12:56.043Z","dependency_job_id":"2cc11628-6a25-4ea9-b9b9-7785827b71dd","html_url":"https://github.com/kriasoft/react-firebase-starter","commit_stats":{"total_commits":393,"total_committers":47,"mean_commits":8.361702127659575,"dds":"0.46564885496183206","last_synced_commit":"69328e57cbc832c87b9cce9a9955fa21515545de"},"previous_names":["kriasoft/react-static-boilerplate"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/kriasoft/react-firebase-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriasoft%2Freact-firebase-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriasoft%2Freact-firebase-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriasoft%2Freact-firebase-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriasoft%2Freact-firebase-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kriasoft","download_url":"https://codeload.github.com/kriasoft/react-firebase-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kriasoft%2Freact-firebase-starter/sbom","scorecard":{"id":569835,"data":{"date":"2025-08-11","repo":{"name":"github.com/kriasoft/react-firebase-starter","commit":"69328e57cbc832c87b9cce9a9955fa21515545de"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"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":"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":"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":"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":"Code-Review","score":2,"reason":"Found 1/4 approved changesets -- score normalized to 2","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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: .circleci/Dockerfile:1: pin your Docker image by updating circleci/node:10.1.0 to circleci/node:10.1.0@sha256:a5c3a452f48cae88198854b3ca84fe1b346c527255c5b945396f463b8b0a8834","Info:   0 out of   1 containerImage dependencies pinned"],"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 27 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"}},{"name":"Vulnerabilities","score":0,"reason":"161 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-fpm5-vv97-jfwg","Warn: Project is vulnerable to: GHSA-4g6q-77j7-vvjc","Warn: Project is vulnerable to: GHSA-pp75-xfpw-37g9","Warn: Project is vulnerable to: GHSA-7v5v-9h63-cj86","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-whgm-jr23-g3j9","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-v9mx-4pqq-h232","Warn: Project is vulnerable to: GHSA-4j66-8f4r-3pjx","Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-r92x-f52r-x54g","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-wm7h-9275-46v2","Warn: Project is vulnerable to: GHSA-3wcq-x3mq-6r9p","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-vh7m-p724-62c2","Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-6h5x-7c5m-7cr7","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-6x33-pw7p-hmpq","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-7r28-3m3f-r2pr","Warn: Project is vulnerable to: GHSA-r8j5-h5cx-65gg","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-wgfq-7857-4jcc","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-8cf7-32gw-wr33","Warn: Project is vulnerable to: GHSA-hjrf-2m68-5959","Warn: Project is vulnerable to: GHSA-qwph-4952-7xr6","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-4jv9-3563-23j3","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","Warn: Project is vulnerable to: GHSA-r6rj-9ch6-g264","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g","Warn: Project is vulnerable to: GHSA-56x4-j7p9-fcf9","Warn: Project is vulnerable to: GHSA-v78c-4p63-2j6c","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-w7rc-rwvf-8q5r","Warn: Project is vulnerable to: GHSA-92xj-mqp7-vmcj","Warn: Project is vulnerable to: GHSA-wxgw-qj99-44c2","Warn: Project is vulnerable to: GHSA-5rrq-pxf6-6jx5","Warn: Project is vulnerable to: GHSA-8fr3-hfg3-gpgp","Warn: Project is vulnerable to: GHSA-gf8q-jrpm-jvxq","Warn: Project is vulnerable to: GHSA-2r2c-g63r-vccr","Warn: Project is vulnerable to: GHSA-cfm4-qjh2-4765","Warn: Project is vulnerable to: GHSA-x4jg-mjrx-434g","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-v923-w3x8-wh69","Warn: Project is vulnerable to: GHSA-f794-r6xc-hf3v","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-g6ww-v8xp-vmwg","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-5q6m-3h65-w53x","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-h9rv-jmmf-4pgx","Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-c9g6-9335-x697","Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq","Warn: Project is vulnerable to: GHSA-662x-fhqg-9p8v","Warn: Project is vulnerable to: GHSA-394c-5j6w-4xmx","Warn: Project is vulnerable to: GHSA-78cj-fxph-m83p","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-46c4-8wrp-j99v","Warn: Project is vulnerable to: GHSA-9m6j-fcg5-2442","Warn: Project is vulnerable to: GHSA-hh27-ffr2-f2jc","Warn: Project is vulnerable to: GHSA-rqff-837h-mm52","Warn: Project is vulnerable to: GHSA-8v38-pw62-9cw2","Warn: Project is vulnerable to: GHSA-hgjh-723h-mx2j","Warn: Project is vulnerable to: GHSA-jf5r-8hm2-f872","Warn: Project is vulnerable to: GHSA-qgmg-gppg-76g5","Warn: Project is vulnerable to: GHSA-xx4c-jj58-r7x6","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-g78m-2chm-r7qv","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T16:00:37.677Z","repository_id":1090352,"created_at":"2025-08-20T16:00:37.677Z","updated_at":"2025-08-20T16:00:37.677Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38343428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-18T02:00:06.448Z","response_time":63,"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":["boilerplate","create-react-app","firebase","firebase-functions","firestore","gcp","graphql","hmr","javascript","postgresql","react","reactjs","relay","relay-modern","seo","server-side-rendering","serverless","spa","ssr","styled-components"],"created_at":"2024-07-30T19:01:26.661Z","updated_at":"2026-10-19T00:10:33.643Z","avatar_url":"https://github.com/kriasoft.png","language":"JavaScript","funding_links":["https://github.com/sponsors/koistya","https://opencollective.com/react-firebase-starter"],"categories":["JavaScript","Boilerplate","Front-end","Learning and Reference"],"sub_categories":["Web DB","React Firebase starter [↗](https://awesomestacks.dev/react-firebase-starter)","Examples and Exercises"],"readme":"\u003ch1\u003e\n  React Starter Kit for Firebase \u0026nbsp; \u003csup\u003e\u003ci\u003ea.k.a. Serverless Edition\u003c/i\u003e\u003c/sup\u003e\u003cbr\u003e\n  \u003ca href=\"https://circleci.com/gh/kriasoft/react-firebase-starter\"\u003e\u003cimg src=\"https://circleci.com/gh/kriasoft/react-firebase-starter.svg?style=svg\" alt=\"Build Status\" height=\"20\" /\u003e\u003c/a\u003e\n  \u003cimg src=\"https://api.dependabot.com/badges/status?host=github\u0026repo=kriasoft/react-firebase-starter\" alt=\"Dependabot\" height=\"20\" /\u003e\n  \u003ca href=\"https://opencollective.com/react-firebase-starter\"\u003e\u003cimg src=\"https://opencollective.com/react-firebase-starter/backers/badge.svg?maxAge=3600\" height=\"20\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://twitter.com/ReactStarter\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/ReactStarter.svg?style=social\u0026amp;label=Follow\u0026amp;maxAge=3600\" alt=\"Twitter\" height=\"20\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://discord.gg/2nKEnKq\"\u003e\u003cimg src=\"https://img.shields.io/badge/chat-Discord-green.svg?style=social\u0026amp;maxAge=3600\" height=\"20\"\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n**React Starter Kit** _for Firebase_ is a popular project template (aka, boilerplate) for building\nmodern, scalable web applications with React, Relay, and GraphQL using serverless infrastructure\nprovided by \u003ca href=\"https://cloud.google.com/\"\u003eGoogle Cloud\u003c/a\u003e (Cloud SQL, Cloud Functions, CDN\nhosting, and file storage). It allows you to save time and build upon a solid foundation and\ndesign patterns.\n\n\u003cp align=\"center\"\u003e\u003cstrong\u003eView\u003c/strong\u003e \u003ca href=\"https://firebase.reactstarter.com\"\u003eonline demo\u003c/a\u003e (\u003ca href=\"https://firebase.reactstarter.com/graphql\"\u003eAPI\u003c/a\u003e, \u003ca href=\"https://firebase.reactstarter.com/graphql/model\"\u003edata model\u003c/a\u003e) \u0026nbsp;|\u0026nbsp; \u003cstrong\u003eFollow us\u003c/strong\u003e on \u003ca href=\"https://twitter.com/ReactStarter\"\u003eTwitter\u003c/a\u003e \u0026nbsp;|\u0026nbsp; \u003cstrong\u003eGet FREE support\u003c/strong\u003e on \u003ca href=\"https://discord.gg/2nKEnKq\"\u003eDiscord\u003c/a\u003e \u0026nbsp;|\u0026nbsp; \u003ca href=\"https://angel.co/company/kriasoft/jobs/\"\u003e\u003cstrong\u003eWe're hiring!\u003c/strong\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003ca href=\"https://reactstarter.com/s/1\"\u003e\u003cimg src=\"https://reactstarter.com/s/1.png\" height=\"60\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u003ca href=\"https://reactstarter.com/s/2\"\u003e\u003cimg src=\"https://reactstarter.com/s/2.png\" height=\"60\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u003ca href=\"https://reactstarter.com/s/3\"\u003e\u003cimg src=\"https://reactstarter.com/s/3.png\" height=\"60\" /\u003e\u003c/a\u003e\n\n---\n\nThis project was bootstrapped with [React Starter Kit for Firebase][rfs] by [Kriasoft][kriasoft].\n\n### Tech Stack\n\n- [Create React App][cra] (★ 73k) for development and test infrastructure (see [user guide][cradocs])\n- [Material UI][mui] (★ 52k) to reduce development time by integrating Google's [Material Design][material]\n- [Passport.js][passport] (★ 17k) for authentication configured with stateless JWT tokens for sessions\n- [GraphQL.js][gqljs] (★ 15k) and [Relay][relay] (★ 14k) for declarative data fetching and efficient client stage management\n- [Universal Router][router] (★ 1k) + [history][history] (★ 6k) for declarative routing and client-side navigation optimized for [Relay][relay]\n- [PostgreSQL][psql] database pre-configured with a query builder and migrations using [Knex.js][knex] (★ 11k)\n- [Google Cloud][gcp] \u0026 [Firebase][firebase] for serverless architecture - Cloud SQL, Cloud Functions, CDN hosting, file storage ([docs][fbdocs])\n\nAlso, you need to be familiar with [HTML][html], [CSS][css], [JavaScript][js] ([ES2015][es2015]) and [React](https://reactjs.org/docs/).\n\n### Directory Layout\n\n```bash\n├── build/                         # Compiled output\n├── migrations/                    # Database schema migration files\n├── node_modules/                  # 3rd-party libraries and utilities\n├── public/                        # Static files such as favicon.ico etc.\n├── scripts/                       # Automation scripts (yarn update-schema etc.)\n├── src/                           # Application source code\n│   ├── admin/                     # Admin section (Dashboard, User Management etc.)\n│   ├── common/                    # Shared React components and HOCs\n│   ├── hooks/                     # React.js hooks and Context providers\n│   ├── icons/                     # Icon components\n│   ├── legal/                     # Terms of Use, Privacy Policy, etc.\n│   ├── misc/                      # Other pages (about us, contacts, etc.)\n│   ├── mutations/                 # GraphQL mutations to be used on the client\n│   ├── news/                      # News section (example)\n│   ├── server/                    # Server-side code (API, authentication, etc.)\n│   │   ├── mutations/             # GraphQL mutations\n│   │   ├── queries/               # The top-level GraphQL query fields\n│   │   ├── templates/             # HTML templates for server-side rendering\n│   │   ├── types/                 # GraphQL types: User, UserRole, UserIdentity etc.\n│   │   ├── api.js                 # GraphQL API middleware\n│   │   ├── app.js                 # Express.js application\n│   │   ├── config.js              # Configuration settings to be passed to the client\n│   │   ├── context.js             # GraphQL context wrapper\n│   │   ├── db.js                  # PostgreSQL database client (Knex.js)\n│   │   ├── relay.js               # Relay factory method for Node.js environment\n│   │   ├── index.js               # Node.js app entry point\n│   │   ├── login.js               # Authentication middleware (e.g. /login/facebook)\n│   │   ├── schema.js              # GraphQL schema\n│   │   └── ssr.js                 # Server-side rendering, e.g. ReactDOMServer.renderToString(\u003cApp /\u003e)\n│   ├── user/                      # User pages (login, account settings, user profile, etc)\n│   ├── utils/                     # Utility functions\n│   ├── relay.js                   # Relay factory method for browser environment\n│   ├── index.js                   # Client-side entry point, e.g. ReactDOM.render(\u003cApp /\u003e, container)\n│   ├── router.js                  # Universal application router\n│   ├── serviceWorker.js           # Service worker helper methods\n│   └── theme.js                   # Overrides for Material UI default styles\n├── ssl/                           # SSL certificates for connecting to Cloud SQL instance\n├── .env                           # Environment variables for local development\n├── .env.production                # Environment variables for the production build\n├── .env.test                      # Environment variables for the test build\n├── graphql.schema                 # GraphQL schema (auto-generated, used by Relay)\n└── package.json                   # The list of project dependencies + NPM scripts\n```\n\n### Prerequisites\n\n- [Node.js][nodejs] v10.15 or higher + [Yarn][yarn] v1.17 or higher \u0026nbsp; (_HINT: On Mac install\n  them via [Brew][brew]_)\n- [VS Code][vc] editor (preferred) + [Project Snippets][vcsnippets], [EditorConfig][vceditconfig],\n  [ESLint][vceslint], [Prettier][vcprettier], and [Babel JavaScript][vcjs] plug-ins\n- [Watchman][watchman] file watcher used by Relay Modern\n- [PostgreSQL][postgres] v9.6 or newer, only if you're planning to use a local db for development\n\n### Getting Started\n\nJust clone the repo, update environment variables in `.env` and/or `.env.local` file, and start\nhacking:\n\n```bash\n$ git clone https://github.com/kriasoft/react-firebase-starter.git MyApp\n$ cd MyApp\n$ yarn setup                       # Installs dependencies; creates PostgreSQL database\n$ yarn start                       # Compile the app and opens it in a browser with \"live reload\"\n```\n\nThen open [http://localhost:3000/](http://localhost:3000/) to see your app.\u003cbr\u003e\n\n\u003cp align='center'\u003e\u003cimg src='https://camo.githubusercontent.com/506a5a0a33aebed2bf0d24d3999af7f582b31808/687474703a2f2f692e696d6775722e636f6d2f616d794e66434e2e706e67' width='600' alt='npm start'\u003e\u003c/p\u003e\n\nIn order to re-compile GraphQL fragments, run `yarn relay` or `yarn relay --watch` (in watch mode).\n\n### How to Migrate Database Schema\n\nWhile the app is in development, you can use a simplified migration workflow by\ncreating a backup of your existing database, making changes to the existing\nmigration file (see `migrations/20180101000000_initial.js`), re-apply the\nmigration and restore data from the backup file (`backup.sql`):\n\n```bash\n$ yarn db-backup --env=dev         # Or, yarn db-backup --env=test\n$ yarn db-reset-dev                # Or, yarn db-reset-test\n```\n\nUpon deployment to production, switch to normal migration workflow:\n\n```bash\n$ yarn db-change \u003cname\u003e            # Create a new database migration file\n$ yarn db-migrate --env=dev        # Migrate database to the latest version\n```\n\n**HINT**: Test your migration thoroughly with a local instance of the DB first\n(by using `--env=local` or `--env=dev` (default) flag) then apply it to your\n`test` or `prod` database instance using `--env=test` or `--env=prod` command\nargument.\n\nOther helpful database scripts:\n\n```bash\n$ yarn db-version --env=dev        # Print the version number of the last migration\n$ yarn db-rollback --env=dev       # Rollback the latest migration\n$ yarn db-restore --env=dev        # Restore database from backup.sql\n$ yarn db-seed --env=dev           # Seed database with test data\n$ yarn db --env=dev                # Open Knex.js REPL shell (type \".exit\" for exit)\n$ yarn psql --env=dev              # Open PostgreSQL shell (type \"\\q\" for exit)\n```\n\n### How to Test\n\n```bash\n$ yarn lint                        # Check JavaScript and CSS code for potential issues\n$ yarn lint-fix                    # Attempt to automatically fix ESLint warnings\n$ yarn test                        # Run unit tests. Or, `yarn test -- --watch`\n```\n\n### How to Deploy\n\n```bash\n$ yarn build                       # Build the in production mode (NODE_ENV=production)\n$ yarn deploy-test                 # Deploy the app to TEST environment\n$ yarn deploy-prod                 # Deploy the app to PROD environment\n```\n\nFor more information refer to the [Deployment](https://github.com/kriasoft/react-firebase-starter/wiki/deployment)\nguide in the project's Wiki.\n\n### How to Update\n\nIf you keep the original Git history after cloning this repo, you can always fetch and merge\nthe recent updates back into your project by running:\n\n```bash\n$ git remote add rsk https://github.com/kriasoft/react-firebase-starter.git\n$ git checkout master\n$ git fetch rsk\n$ git merge rsk/master\n$ yarn install\n```\n\n_NOTE: Try to merge as soon as the new changes land on the `master` branch in the upstream\nrepository, otherwise your project may differ too much from the base/upstream repo.\nAlternatively, you can use a folder diff tool like [Beyond Compare][bc] for keeping your project\nup to date with the base repository._\n\n### Backers\n\n\u003ca href=\"https://reactstarter.com/b/1\"\u003e\u003cimg src=\"https://reactstarter.com/b/1.png\" height=\"60\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u003ca href=\"https://reactstarter.com/b/2\"\u003e\u003cimg src=\"https://reactstarter.com/b/2.png\" height=\"60\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u003ca href=\"https://reactstarter.com/b/3\"\u003e\u003cimg src=\"https://reactstarter.com/b/3.png\" height=\"60\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u003ca href=\"https://reactstarter.com/b/4\"\u003e\u003cimg src=\"https://reactstarter.com/b/4.png\" height=\"60\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u003ca href=\"https://reactstarter.com/b/5\"\u003e\u003cimg src=\"https://reactstarter.com/b/5.png\" height=\"60\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u003ca href=\"https://reactstarter.com/b/6\"\u003e\u003cimg src=\"https://reactstarter.com/b/6.png\" height=\"60\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u003ca href=\"https://reactstarter.com/b/7\"\u003e\u003cimg src=\"https://reactstarter.com/b/7.png\" height=\"60\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u003ca href=\"https://reactstarter.com/b/8\"\u003e\u003cimg src=\"https://reactstarter.com/b/8.png\" height=\"60\" /\u003e\u003c/a\u003e\n\n### How to Contribute\n\nAnyone and everyone is welcome to [contribute](https://github.com/kriasoft/react-firebase-starter/wiki/Contributing) to this project. The best way to\nstart is by checking our [open issues](https://github.com/kriasoft/react-firebase-starter/issues),\n[submit a new issues](https://github.com/kriasoft/react-firebase-starter/issues/new?labels=bug) or\n[feature request](https://github.com/kriasoft/react-firebase-starter/issues/new?labels=enhancement),\nparticipate in discussions, upvote or downvote the issues you like or dislike, send [pull\nrequests](https://github.com/kriasoft/react-firebase-starter/wiki/Contributing#pull-requests).\n\n### Learn React.js and ES6\n\n:mortar_board: \u0026nbsp; [React for Beginners](https://reactforbeginners.com/friend/konstantin) and [ES6 Training Course](https://es6.io/friend/konstantin) by Wes Bos\u003cbr\u003e\n:green_book: \u0026nbsp; [React: Up \u0026 Running: Building Web Applications](http://amzn.to/2bBgqhl) by Stoyan Stefanov (Aug, 2016)\u003cbr\u003e\n:green_book: \u0026nbsp; [Getting Started with React](http://amzn.to/2bmwP5V) by Doel Sengupta and Manu Singhal (Apr, 2016)\u003cbr\u003e\n:green_book: \u0026nbsp; [You Don't Know JS: ES6 \u0026 Beyond](http://amzn.to/2bBfVnp) by Kyle Simpson (Dec, 2015)\u003cbr\u003e\n\n### Related Projects\n\n- [React App SDK](https://github.com/kriasoft/react-app) — Create React App modification that\n  unlocks server-side rendering\n- [React Starter Kit](https://github.com/kriasoft/react-starter-kit) — Boilerplate and tooling for\n  building isomorphic web apps with React and Relay\n- [Node.js API Starter Kit](https://github.com/kriasoft/nodejs-api-starter) — Boilerplate and\n  tooling for building data APIs with Docker, Node.js and GraphQL\n\n### License\n\nCopyright © 2015-present Kriasoft. This source code is licensed under the MIT license found in\nthe [LICENSE.txt](https://github.com/kriasoft/react-firebase-starter/blob/master/LICENSE.txt) file.\n\n---\n\nMade with ♥ by Konstantin Tarkus ([@koistya](https://twitter.com/koistya), [blog](https://medium.com/@tarkus))\nand [contributors](https://github.com/kriasoft/react-firebase-starter/graphs/contributors) :wave:\n[Get in touch!](https://twitter.com/messages/compose?recipient_id=16394396)\n\n[rfs]: https://github.com/kriasoft/react-firebase-starter\n[kriasoft]: https://github.com/kriasoft\n[telegram]: https://t.me/ReactStarter\n[cra]: https://github.com/facebook/create-react-app\n[cradocs]: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md\n[psql]: https://www.postgresql.org/\n[cloudsql]: https://cloud.google.com/sql/\n[knex]: http://knexjs.org/\n[gqljs]: http://graphql.org/graphql-js/\n[relay]: http://facebook.github.io/relay/\n[mui]: https://material-ui-next.com/\n[material]: https://material.io/\n[passport]: http://www.passportjs.org/\n[html]: https://developer.mozilla.org/en-US/docs/Web/HTML\n[css]: https://developer.mozilla.org/en-US/docs/Web/CSS\n[js]: https://developer.mozilla.org/en-US/docs/Web/JavaScript\n[es2015]: http://babeljs.io/learn-es2015/\n[react]: https://facebook.github.io/react/\n[relay]: https://facebook.github.io/relay/\n[gcp]: https://cloud.google.com/\n[firebase]: https://firebase.google.com/\n[fbdocs]: https://firebase.google.com/docs/web\n[router]: https://github.com/kriasoft/universal-router\n[history]: https://github.com/ReactTraining/history\n[nodejs]: https://nodejs.org/\n[yarn]: https://yarnpkg.com/\n[brew]: https://brew.sh/\n[wm]: https://facebook.github.io/watchman/\n[relaycompiler]: http://facebook.github.io/relay/docs/relay-compiler.html\n[vc]: https://code.visualstudio.com/\n[vcsnippets]: https://marketplace.visualstudio.com/items?itemName=rebornix.project-snippets\n[vceditconfig]: https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig\n[vceslint]: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint\n[vcprettier]: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode\n[vcjs]: https://marketplace.visualstudio.com/items?itemName=mgmcdermott.vscode-language-babel\n[watchman]: https://github.com/facebook/watchman\n[postgres]: https://www.postgresql.org/\n[bc]: https://www.scootersoftware.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkriasoft%2Freact-firebase-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkriasoft%2Freact-firebase-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkriasoft%2Freact-firebase-starter/lists"}