Cloudflare Docs: https://developers.cloudflare.com/workers/
-
Fork this template
-
Create a Cloudflare Account
-
Create a Cloudflare Key Value namespace for authentification information
npx wrangler kv:namespace create <name>
-
Update
wrangler.toml
with theid
of the new createdkv_namespaces
and adjust other variables likeAPP_NAME
-
Deploy once using
npm run deploy
-
Adjust the
APP_URL
,APP_NAME
,APP_SECRET
variable inwrangler.toml
and deploy again. -
Update of
MyApp/manifest.xml
also the URL and name and secret