{"id":24509524,"url":"https://github.com/oxy86/cf-react","last_synced_at":"2025-07-26T10:38:59.020Z","repository":{"id":66639175,"uuid":"386747225","full_name":"oxy86/cf-react","owner":"oxy86","description":"Tutorial project to use Cloudflare Workers to deploy and serve a full static site developed in React, serverless.","archived":false,"fork":false,"pushed_at":"2021-07-16T22:22:21.000Z","size":247,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T09:28:18.388Z","etag":null,"topics":["cloudflare","create-react-app","react","serverless","workers","wrangler"],"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/oxy86.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":"2021-07-16T19:45:05.000Z","updated_at":"2024-06-17T03:55:06.000Z","dependencies_parsed_at":"2023-03-11T00:11:17.058Z","dependency_job_id":null,"html_url":"https://github.com/oxy86/cf-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oxy86/cf-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxy86%2Fcf-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxy86%2Fcf-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxy86%2Fcf-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxy86%2Fcf-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oxy86","download_url":"https://codeload.github.com/oxy86/cf-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxy86%2Fcf-react/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267150480,"owners_count":24043473,"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-07-26T02:00:08.937Z","response_time":62,"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":["cloudflare","create-react-app","react","serverless","workers","wrangler"],"created_at":"2025-01-22T00:21:45.343Z","updated_at":"2025-07-26T10:38:58.997Z","avatar_url":"https://github.com/oxy86.png","language":"JavaScript","readme":"# Serverless React app on Cloudflare Workers\n\nIn this example project, we use [Wrangler](https://github.com/cloudflare/wrangler) and [Cloudflare Workers](https://developers.cloudflare.com/workers/get-started/guide) to deploy and serve a static site developed in [React](https://reactjs.org/) (bootstrapped with [Create React App](https://github.com/facebook/create-react-app)).  \n\nCloudflare Workers is a great platform to deploy static sites: the application will be distributed to hundrends of locations around the world, and served directly from Cloudflare’s CDN at a server incredibly close to your users.\n \nFor a step-by-step tutorial to reproduce this project, read my blog post:\n\n[Serverless: How to create and serve a static React site directly from Cloudflare’s CDN using Workers](https://dimitris.apeiro.gr/2021/07/17/serverless-how-to-create-and-serve-a-static-react-site-directly-from-cloudflares-cdn-using-workers/)\n\nAlternatively, if you already have signed up for a CF Workers account, installed Node.js and the `wrangler` tool, you can just clone this repo in your local computer, edit `wrangler.toml` to update it your CF account id, then \n\n`npm build` \n\nand \n\n`wrangler publish`\n\nto publish it. Just like that, you will have your serverless React app running on Cloudflare.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxy86%2Fcf-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxy86%2Fcf-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxy86%2Fcf-react/lists"}