{"id":23403426,"url":"https://github.com/selmasaltik/react-deployment","last_synced_at":"2026-04-18T02:08:21.025Z","repository":{"id":260304508,"uuid":"880925029","full_name":"selmasaltik/react-deployment","owner":"selmasaltik","description":"Deploying React Apps /// What I learned from \"React - The Complete Guide 2024 (incl. Next.js, Redux) - Academind by Maximilian Schwarzmüller\"","archived":false,"fork":false,"pushed_at":"2024-10-30T18:16:02.000Z","size":514,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T22:41:45.890Z","etag":null,"topics":["deployment","hosting","lazy-loading","optimization","react","static-site"],"latest_commit_sha":null,"homepage":"https://react-deployment-chi.vercel.app","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/selmasaltik.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":"2024-10-30T15:54:19.000Z","updated_at":"2024-10-30T18:18:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"3cf044e2-b1a8-4305-a59c-d650339b9e1b","html_url":"https://github.com/selmasaltik/react-deployment","commit_stats":null,"previous_names":["selmasaltik/react-deployment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/selmasaltik/react-deployment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selmasaltik%2Freact-deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selmasaltik%2Freact-deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selmasaltik%2Freact-deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selmasaltik%2Freact-deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selmasaltik","download_url":"https://codeload.github.com/selmasaltik/react-deployment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selmasaltik%2Freact-deployment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["deployment","hosting","lazy-loading","optimization","react","static-site"],"created_at":"2024-12-22T12:47:50.607Z","updated_at":"2026-04-18T02:08:21.008Z","avatar_url":"https://github.com/selmasaltik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploying React Apps\n***From Development To Production***\n\n- Deployment **Steps \u0026 Pitfalls**\n- **Server-side** Routing vs **Client-side** Routing\n\n**Deployment Steps**\n\n***Test Code:*** Manually \u0026 with automated tests\n\n***Optimize Code:*** Optimize user experience \u0026 performance\n\n***Build App:*** Run build process to parse, transform \u0026 optimize code\n\n***Upload App:*** Upload production code to hosting server\n\n***Configure Server:*** Ensure app is served securely \u0026 as intended\n\n**Lazy Loading**\n\nLoad code only when it’s needed\n\n**A React SPA is a “*Static Website*”**\n\nOnly HTML, CSS \u0026 JavaScript\n\n             ⬇️\n\n***A static site host is needed***\n\n[Firebase Hosting](https://firebase.google.com/docs/hosting)\n\n- https://react-deployment-demo-4ab16.web.app/\n- https://react-deployment-demo-4ab16.firebaseapp.com/\n\n**[Server-side Routing vs Client-side Routing](https://www.canva.com/design/DAGVErNh7xE/XeFWKghqcj7fAFEVrUD4eA/view?utm_content=DAGVErNh7xE\u0026utm_campaign=designshare\u0026utm_medium=link\u0026utm_source=editor)**\n\n**Resources**\n\n* [5 of the Best Static Website Hosting Services](https://buttercms.com/blog/5-best-static-website-hosting-services/)\n\n* [10 Free Web Hosting Solutions for Static and Dynamic Sites](https://dev.to/anticoder03/10-free-web-hosting-solutions-for-static-and-dynamic-sites-48g1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselmasaltik%2Freact-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselmasaltik%2Freact-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselmasaltik%2Freact-deployment/lists"}