DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to launch a COD store on your own Cloudflare account with Codflow

Deploy the storefront, merchant dashboard and backend to your Cloudflare account with no per-order fees.

Short answer: Run git clone https://github.com/bighadj22/codflow.git and cd codflow, then run npm ci; then run wrangler login, then create resources with wrangler d1 create my-codflow-db, wrangler r2 bucket create my-codflow-images, wrangler kv namespace create RATE_LIMIT and wrangler kv namespace create OAUTH_KV. All steps.

Who it is forAn Algerian merchant or developer who wants to sell cash on delivery without paying per-transaction fees or running a VPS.

The problemWestern and local platforms charge per-transaction fees, need VPS hosting and lock store data in their systems.

The outcomeA local CodFlow store with a storefront, merchant dashboard and backend that you own, ready to move to production.

What you need first

  • Node.js 22.12+ and npm
  • Wrangler CLI (npm install -g wrangler)
  • A free Cloudflare account
  • Carrier and Meta credentials if you connect delivery or ads (optional)

Steps

  1. Run git clone https://github.com/bighadj22/codflow.git and cd codflow, then run npm ci.
  2. Run wrangler login, then create resources with wrangler d1 create my-codflow-db, wrangler r2 bucket create my-codflow-images, wrangler kv namespace create RATE_LIMIT and wrangler kv namespace create OAUTH_KV.
  3. Copy the example env and config files in the root, cod-server, cod-client-astro and cod-astro/theme01 folders, then set your resource names and secrets.
  4. In cod-server run npm run db:setup:local, then in cod-client-astro run [email protected] ADMIN_NAME=Admin npm run seed:admin and save the generated password and API key.
  5. Start the backend with npm run dev in cod-server, the dashboard with npm run dev in cod-client-astro, and the storefront with npm run dev in cod-astro/theme01 on a different port.

Prompt for your agent

In the repo https://github.com/bighadj22/codflow, follow the codflow-setup runbook at .agents/skills/codflow-setup/SKILL.md to set up a local store in <target folder>. Expected output: the backend, dashboard and storefront running locally, with the admin password and API key reported. Verify that the backend responds at http://localhost:8787.

Caveat. The README says a production deployment needs cod-server on a custom domain, because Worker-to-Worker fetch between workers.dev hosts is blocked.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for bighadj22/codflow and "Launch a COD store on your own Cloudflare account"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer