KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#claude-code
#codex
#cli
#developer-tools
#react
#windows
workers-react-pwa-example
★ 86
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
skycloud-base
:
🔥springcloud脚手架,配置中心(apollo/nacos) 注册中心(consul/nacos) 分布式事物(seata) 调用链(skywalking) 日志(ELK)监控(prometheus与grafana) 等,适合学习与快速开发使用
angular-8-role-based-authorization-example
:
Angular 8 - Role Based Authorization Tutorial with Example
teanjs
:
:fire: TypeORM - Express - Angular 8 - NestJS Server Side Rendering (SSR) :smiley_cat:
face-engine
:
Arcsoft ArcFace for Go 虹软人脸检测SDK Go语言版
action-hero
:
Write powerful CLIs with argparse actions that pack a punch! 👊
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
workers-react-pwa-example
?
Download (.md)
 Workers React Example ==== Combining the power of Cloudflare Workers and React will allow you to render the same React code you would on the browser on Cloudflare Workers. ### Dependencies - [npm](https://www.npmjs.com/get-npm) or [yarn](https://yarnpkg.com/en/docs/install#debian-stable) ### Instructions - `yarn preview` #### Static hosting In order for this application to work, you'll have to be able to serve `/worker.js` from your own origin. This example uses terraform to upload the worker script to Google Cloud Storage, but you are welcome to use any other origin. - https://cloud.google.com/storage/docs/hosting-static-website #### Terraform If you'd like to use terraform to upload your worker scripts, you'll need a vars file with the following variables ```hcl # Cloudflare variables variable "cloudflare_email" { default = "dmr@bell-labs.com" } variable "cloudflare_token" { default = "00000000000000000000000000" } # GCP exmaple variables variable "project" { default = "my-project" } variable "zone" { default = "buzzwords.app" } variable "bucket" { default = "buzzwords" } ``` after adding this file as `vars.tf` (terraform will pickup any `.tf` extension file) do `terraform init` and `terraform apply` ### About [Cloudflare Workers](http://developers.cloudflare.com/workers/) allow you to write JavaScript which runs on all of Cloudflare's 150+ global data centers. [React](https://reactjs.org) makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes.