This starter is for Dev Showdown workshop participants using Cloudflare Workers.
Click the Deploy to Cloudflare button above.
Cloudflare will:
- clone the repo into your GitHub account
- create and deploy your Worker
- prompt you for the required secret during setup
The required secret is:
DEV_SHOWDOWN_API_KEY
Get that from the Dev Showdown workshop Settings page.
POST /api?challengeType=HELLO_WORLDPOST /api?challengeType=BASIC_LLM
That is enough to start earning points quickly and gives you a clean base to extend for later challenges.
If you want to work locally instead of deploying first:
- Create your local env file:
cp .env.example .env-
Put your
DEV_SHOWDOWN_API_KEYinto.env. -
Install dependencies and start the worker:
npm install
npm run dev