{"id":34711067,"url":"https://github.com/g45t345rt/firebase-react-ssr","last_synced_at":"2026-05-03T18:35:24.805Z","repository":{"id":47885880,"uuid":"248017767","full_name":"g45t345rt/firebase-react-ssr","owner":"g45t345rt","description":"Template to deploy a Firebase webapp - React \u0026 SSR","archived":false,"fork":false,"pushed_at":"2021-08-12T03:42:07.000Z","size":1554,"stargazers_count":2,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-05T10:28:25.112Z","etag":null,"topics":["firebase","react","ssr"],"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/g45t345rt.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}},"created_at":"2020-03-17T16:22:13.000Z","updated_at":"2022-09-16T20:21:09.000Z","dependencies_parsed_at":"2022-08-27T06:41:06.714Z","dependency_job_id":null,"html_url":"https://github.com/g45t345rt/firebase-react-ssr","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/g45t345rt/firebase-react-ssr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g45t345rt%2Ffirebase-react-ssr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g45t345rt%2Ffirebase-react-ssr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g45t345rt%2Ffirebase-react-ssr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g45t345rt%2Ffirebase-react-ssr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g45t345rt","download_url":"https://codeload.github.com/g45t345rt/firebase-react-ssr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g45t345rt%2Ffirebase-react-ssr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32580077,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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","react","ssr"],"created_at":"2025-12-24T23:57:06.357Z","updated_at":"2026-05-03T18:35:24.800Z","avatar_url":"https://github.com/g45t345rt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### FIREBASE REACT SSR\n\nThis is a template for creating a single web page app with React and deploy to Firebase easily.\n\n#### Features\n- React for interactive UI\n- Webpack to bundle js files\n- Deploy to Firebase Cloud functions\n- SSR (Server Side Rendering) for SEO (Search Engine Optimization)\n- Baobab for state management\n- Styled components for styling\n- SSRPrepass to wait for promises (fetch)\n- Fastify to control server routes or add proxy in no time\n\n#### WHY\nI got tired of recreating basic setup files everytime I started working on a new project. This template can save you a lot of time because you can start to develop right away instead of losing couple of days bundling files together.\n\n#### How does it work\n-  Webpack bundles the client (frontend) side code in one file named client.bundle.js\n- Webpack aslo bundle the client code for server side rendering SSR named app-ssr.js\n-  Firebase rewrite all requests to function \"app\" -\u003e the setup is in firebase.json at rewrites/function/app\n-  Firebase main \"app\" function return html page with react ssr\n`exports.app = functions.https.onRequest`\n\n#### Development\n##### Install dependencies in app \u0026 functions folder\n`npm install`\n##### Build \u0026 watch webpack development\n`npm run build` to only build file once\n`npm run dev` to watch files\n##### Emulate firebase function\n`npm start`\n\n#### Deploy\n##### Build webpack production\n`npm run build-prod` build files (client.bundle.js \u0026 app-ssr.js) before deploying\n##### Firebase deploy\n`npm run deploy`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg45t345rt%2Ffirebase-react-ssr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg45t345rt%2Ffirebase-react-ssr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg45t345rt%2Ffirebase-react-ssr/lists"}