cf-worker-status-page-pro

所属分类:Linux/Unix编程
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2024-03-19 11:33:55
上 传 者sh-1993
说明:  [WIP]监控您的网站,展示包括日常历史记录在内的状态,并在网站状态发生变化时获得通知。使用Cloudflare Workers、CRON触发器和KV存储。
([WIP] Monitor your websites, showcase status including daily history, and get notification whenever your website status changes. Using Cloudflare Workers, CRON Triggers, and KV storage.)

文件列表:
.husky/
.vscode/
dev-server/
public/
scripts/
src/
.editorconfig
commitlint.config.ts
eslint.config.ts
package.json
pnpm-lock.yaml
postcss.config.cts
tailwind.config.ts
tsconfig.json
vite.config.ts
worker-configuration.d.ts
wrangler.toml

[![](https://dcbadge.vercel.app/api/server/6H8SesN3)](https://discord.gg/6H8SesN3) [Cloudflare Workers](https://workers.cloudflare.com/) with: - Vite - Vike - React - [`react-streaming`](https://github.com/brillout/react-streaming) - Universal `fetch()` ## Docs See [vike.dev/cloudflare-workers](https://vike.dev/cloudflare-workers). ## Run ```bash git clone git@github.com:vikejs/vike cd vike/examples/cloudflare-workers-react-full/ npm install ``` Develop: > For increased development speed, we use an Express.js development server instead of a worker. ```bash npm run dev ``` Preview the worker locally: > You'll need to login/create a Cloudflare account. ```bash npm run preview ``` Deploy the worker to Cloudflare: ```bash npm run deploy ``` ## Universal `fetch()` Note how we define a fetch function at `pageContext.fetch` that is universal: it works for development as well as for the production worker. The trick is to provide a different `fetch()` implementation at [worker/ssr.ts](worker/ssr.ts) and [dev-server/index.js](dev-server/index.js).

近期下载者

相关文件


收藏者