{"id":13680835,"url":"https://github.com/andreiduca/cra-ssr-code-splitting","last_synced_at":"2026-01-22T22:21:30.185Z","repository":{"id":149393911,"uuid":"130475440","full_name":"andreiduca/cra-ssr-code-splitting","owner":"andreiduca","description":"Demo code for Server Side Rendering and Code Splitting in a create-react-app.","archived":false,"fork":false,"pushed_at":"2019-06-20T11:57:49.000Z","size":292,"stargazers_count":221,"open_issues_count":5,"forks_count":70,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-11T23:37:51.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://medium.com/bucharestjs/upgrading-a-create-react-app-project-to-a-ssr-code-splitting-setup-9da57df2040a","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/andreiduca.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}},"created_at":"2018-04-21T13:18:48.000Z","updated_at":"2024-07-08T08:38:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"a746f43a-333c-475c-895a-9b04f525671d","html_url":"https://github.com/andreiduca/cra-ssr-code-splitting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiduca%2Fcra-ssr-code-splitting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiduca%2Fcra-ssr-code-splitting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiduca%2Fcra-ssr-code-splitting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreiduca%2Fcra-ssr-code-splitting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreiduca","download_url":"https://codeload.github.com/andreiduca/cra-ssr-code-splitting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251607460,"owners_count":21616765,"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","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-08-02T13:01:22.646Z","updated_at":"2026-01-22T22:21:30.140Z","avatar_url":"https://github.com/andreiduca.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"## What's this?\n\nThis is a sample app to demonstrate how you can achieve both **Server Side Rendering** _and_ **Code Splitting** in a create-react-app.\nIt supports the mini-series I've wrote on _Medium_ about this topic:\n\n1. [Upgrading a create-react-app project to a SSR + Code Splitting setup](http://medium.com/bucharestjs/upgrading-a-create-react-app-project-to-a-ssr-code-splitting-setup-9da57df2040a)\n2. [Adding state management with Redux in a CRA + SSR project](https://medium.com/bucharestjs/adding-state-management-with-redux-in-a-cra-srr-project-9798d74dbb3b)\n\n\n## How can I see it in action?\n\nJust install dependencies, build the app and run the express server:\n\n```\nyarn install\nyarn run build\nyarn run server\n```\n\n## Can I use this as a template for a production app?\n\n**NO!** This repo exists only to demonstrate how to achieve SSR and Code Splitting at the same time.\n\n_But... Why?_ --- The server app is as slim as it can get. It lacks even the most basic security features like XSS and CSRF.\n\n**This is not a boilerplate for a production expressjs server app!!!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreiduca%2Fcra-ssr-code-splitting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreiduca%2Fcra-ssr-code-splitting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreiduca%2Fcra-ssr-code-splitting/lists"}