A dashboard for managing Cloudflare Workers.
- 
(On MacOS with Homebrew:
brew install cloudflare/cloudflare/cloudflared) 
npm i
These should all be self-explanatory:
- 
npm run lintnpm run lint:fix
 - 
npm run testnpm run test:clientnpm run test:server
 - 
npm run deploy 
To start a local version:
- 
In one terminal window, run
npm run start:client. - 
In another, run
npm run startand navigate to http://localhost:8787. 
- 
/packages/clientis simply a CRA created withnpx create-react-app . --template typescript --use-npm. - 
/packages/serveran function which intercepts a request to the client. If it returns a 404, the request is passed through to the client. - 
/packages/workerattempts to fetch from the server first, falling back on the client.