Video: Stateful Apps with Cloudflare Workers 201 - Full Course (APIs, Workers KV, D1, SQLite, Prisma)
Canal:Cloudflare Developers
Curso: Stateful Apps with Cloudflare Workers 201 - Full Course (APIs, Workers KV, D1, SQLite, Prisma)
Idioma: Dificuldade:
Básico
Tags: cloudflare, cloudflare workers, cloudflare d1, sql, sqlite, workers kv, prisma, serverless, tutorial, learn to code, stateful applications, javascript, typescript,
Descrição:
Learn how to access external APIs, cache and retrieve data using Workers KV, and create SQL-driven applications with Cloudflare D1. We'll also look at some nifty integrations, like Prisma and D1! This video builds upon the foundations established in our "Learn Cloudflare Workers - Full Course for Beginners" video published in March 2024. If you don’t already have an account sign up for a free Workers account today: https://workers.cloudflare.com ?? Hosted by Kristian Freeman, Cloudflare Developer Advocate ? https://twitter.com/kristianf_ ? Workers documentation: https://developers.cloudflare.com/workers ? KV documentation: https://developers.cloudflare.com/kv ? D1 documentation: https://developers.cloudflare.com/d1 ? Source code for this video available on GitHub ? API and KV example: https://github.com/kristianfreeman/api-and-kv-example ? D1 Movie Example: https://github.com/kristianfreeman/d1-movie-example ? D1 + Prisma Example: https://github.com/kristianfreeman/cloudflare-d1-prisma-honox-starter ? Watch the first video in this series: https://youtu.be/H7Qe96fqg1M ⚡ Chapters ☁️ 00:00 Introduction ☁️ 01:54 Integrating an External API ☁️ 02:54 Let's write some code! ☁️ 05:43 Using the fetch API ☁️ 10:19 What is Workers KV? ☁️ 12:16 Adding Workers KV ☁️ 19:42 What is Cloudflare D1? ☁️ 21:23 Building with D1 ☁️ 24:40 Create a D1 database ☁️ 26:49 Create a D1 migration ☁️ 31:02 Adding example data ☁️ 32:05 Building the movie application ☁️ 41:47 Deploying the application ☁️ 43:21 Looking at the D1 + Prisma starter ☁️ 48:52 Conclusion --- ? Resources Join the Cloudflare Developers Discord: https://discord.cloudflare.com Read the docs: https://developers.cloudflare.com/workers/ Explore related products: https://www.cloudflare.com/developer-platform/products/ See what you can build with Workers: https://workers.cloudflare.com/built-with/features/workers/ Explore our AI offerings: https://ai.cloudflare.com/