Stateful Apps with Cloudflare Workers - Full Course (APIs, Workers KV, D1, SQLite, Prisma)
Ғылым және технология
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: workers.cloudflare.com
👨🏫 Hosted by Kristian Freeman, Cloudflare Developer Advocate
🔗 / kristianf_
🔗 Workers documentation: developers.cloudflare.com/wor...
🔗 KV documentation: developers.cloudflare.com/kv
🔗 D1 documentation: developers.cloudflare.com/d1
💡 Source code for this video available on GitHub
🫡 API and KV example: github.com/kristianfreeman/ap...
🫡 D1 Movie Example: github.com/kristianfreeman/d1...
🫡 D1 + Prisma Example: github.com/kristianfreeman/cl...
📺 Watch the first video in this series: • Learn Cloudflare Worke...
⚡ 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: discord.cloudflare.com
Read the docs: developers.cloudflare.com/wor...
Explore related products: www.cloudflare.com/developer-...
See what you can build with Workers: workers.cloudflare.com/built-...
Explore our AI offerings: ai.cloudflare.com/
Пікірлер: 21
Thanks for watching! What should our next course on KZread cover?
@scotly_emi
Ай бұрын
R2 with node
@stackattackism
29 күн бұрын
Durable Objects !
@4115steve
29 күн бұрын
Svelte kit app with database and authentication
@4115steve
29 күн бұрын
A bevy wasm game on github pages and cloudflare pages using rust workers
I would love to see an example of setting up a D1 project that uses a test database (for CI/CD and tests), local dev database and remote database. That is essential for real world coding.
buddy thanks for coming back just donot get missing again
Thanks for this video! I've been working on a Prisma/D1/Hono API for the past while and would absolutely love to see some more content tailored to that. It would be interesting to see how you tackle some of the issues I've run into when trying to create migrations for Prisma/D1.
i was looking for something like this, thank you!
Thank you :)
would be cool to get deep dive on durable objects
you guys have to comment on recent 120k issue, otherwise you’re bleeding customers
no durable object mention?
@CloudflareWorkers
Ай бұрын
It's in the works! It's a bit more complex than the stuff in this video - maybe a 202 video? 😊
@webbae
Ай бұрын
yes would love to see some content on durable objects
I tried the Cloudflare D1 for a Pages project and it was great, although I couldn't get around it dx (especially dev), but it works well on production. I but the KV, please is it similar to something like Redix, and can it be used for a Pages project?
can i assume kv as a nosql db and d1 as a sql db?
nop, wont go for a future "120k" problem
why is the audio out of sync with the person speaking?
so handsome🎉😂