Skip to content

aryanbarak/smartflow-tutor-api-worker

Repository files navigation

SmartFlow Tutor API Worker

Name and Route Alignment

The worker name in wrangler.toml is intentionally set to smartflow-tutor-api so local wrangler deploy updates the same production worker already routed at api.barakzai.cloud/*.

If the name differs, deploys will target another worker and production will continue serving old behavior.

Local Commands

  • npm install
  • npm test
  • wrangler dev
  • wrangler secret put ADAPTER_TOKEN
  • wrangler deploy

GitHub Actions (Worker Deploy)

  • Workflow: .github/workflows/deploy-worker.yml
  • Required repository secrets:
    • CLOUDFLARE_API_TOKEN
    • CLOUDFLARE_ACCOUNT_ID
  • Trigger: push to main (or manual run from Actions tab).

About

Cloudflare Worker — static content API for SmartFlow Tutor. Algorithm data in German and Persian.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors