Onboarding

Cloudflare Intern Lab

A hands-on track through the parts of Cloudflare we use every day. You'll do everything in the Cloudflare dashboard: create resources, add bindings, write Worker code in the dashboard editor, and read logs. Tick tasks off as you go, because your progress is saved to your account.

~4–5 days total Your own free Cloudflare account Dashboard-first · JavaScript

How to use this lab

  1. Everything is done in the Cloudflare dashboard. You create resources there, add bindings and variables there, write code in the dashboard's code editor, and read logs there. That way you can always see what you've built.
  2. Each code task has starter code in exercises/<module>/src/index.js. Copy it into the Worker's Edit code editor and complete the TODOs.
  3. Tasks are tagged: Dashboard is done in the Cloudflare UI. Code is done in the dashboard code editor. Blue "Wrangler way (optional)" boxes show the terminal equivalent. Skip them unless you're curious.
  4. Try every task before you open Show solution. Full working code is in solutions/<module>/.
  5. Finish each module with its self-check quiz. Bring any wrong answers to your mentor.
  6. The two projects (P1, P2) are real systems built from what you've learned so far. Take your time with them.

Prerequisites, not taught here: basic JavaScript (async/await, fetch, JSON), and SQLite/SQL basics (CREATE TABLE, SELECT, INSERT, UPDATE, DELETE, WHERE, indexes). The D1 module assumes you already know SQL.

Modules

Ground rules