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 "Cloudflare Workers 101" video published in March 2024: https://youtu.be/H7Qe96fqg1M
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
⚡ 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/