Upgrade to Pro — share decks privately, control downloads, hide ads and more …

5分で流し読むCloudflare Developer Platform

5分で流し読むCloudflare Developer Platform

Niigata 5分 Tech #10で発表しました
https://niigata-5min-tech.connpass.com/event/324842/

紹介するサービスは独断と偏見で選びました

Yukiya Nakagawa

July 26, 2024
Tweet

More Decks by Yukiya Nakagawa

Other Decks in Technology

Transcript

  1. Workersͷྫ import welcome from "welcome.html"; /** * @typedef {Object} Env

    */ export default { /** * @param {Request} request * @param {Env} env * @param {ExecutionContext} ctx * @returns {Response} */ fetch(request, env, ctx) { console.log("Hello Cloudflare Workers!"); return new Response(welcome, { headers: { "content-type": "text/html", }, }); }, }; • fetchؔ਺ͷΈͷobjectΛ export defaultͨ͠ESM • fetchؔ਺͸RequestΛҾ਺ʹ औΓɺResponseΛฦ͢ • env΍ctx͸࣮ߦ؀ڥͷ৘ใ
  2. AI

  3. Ϟσϧͷྫ • Ի੠ೝࣝ • ը૾෼ྨ • จࣈೝࣝ • ΦϒδΣΫτೝࣝ •

    ςΩετཁ໿ • ςΩετ෼ྨ • ςΩετຒΊࠐΈ • ςΩετੜ੒ • ςΩετ͔Βը૾ੜ੒ • ຋༁