Learn Cloudflare Workers - Full Course for Beginners

  Рет қаралды 47,563

Cloudflare Developers

Cloudflare Developers

Күн бұрын

Learn how to build your first Cloudflare Workers application and deploy it to Cloudflare's global network. 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_
🔗 Get Started guide for Cloudflare Workers: developers.cloudflare.com/wor...
🔗 Source code for this video available on GitHub: github.com/kristianfreeman/wo...
📺 Watch the next video in this series: • Stateful Apps with Clo...
⚡ Chapters
☁️ 00:00:00 Introduction
☁️ 00:01:02 Setup a new Cloudflare Account
☁️ 00:03:08 Creating first Worker
☁️ 00:05:08 Writing code
☁️ 00:09:12 What is Wrangler?
☁️ 00:10:44 Log in to Cloudflare
☁️ 00:11:50 Deploy your application
☁️ 00:12:50 Building your app locally
☁️ 00:18:43 Looking at your first Workers code
☁️ 00:12:50 Building your app locally
☁️ 00:25:20 How to configure your Workers application
☁️ 00:31:00 Configuring Cloudflare services in your app
☁️ 00:32:50 Adding the Hono framework
☁️ 00:37:47 Integrating Cloudflare AI
☁️ 00:44:17 Writing your first Cloudflare AI code
☁️ 00:53:02 What else can you do with Cloudflare Workers?
☁️ 00:56:12 Next steps
☁️ 00:58:44 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/

Пікірлер: 68
@frankdrolet9439
@frankdrolet9439 4 ай бұрын
Absolutely amazing, thanks for that! Keep them coming!
@sureshkumargondi4631
@sureshkumargondi4631 4 ай бұрын
This is too good. More of this please :) Thank you Kristian.
@v1d300
@v1d300 4 ай бұрын
First, amazing! Very well made video. Really like that you even managed to quickly cover wrangler and its use with some details about the CLI tool. Thank you. Second, I need to find friends like you have whom I can call to get $100B fund to my silly ideas I would watch that email trigger project.
@yosemitebandit
@yosemitebandit 2 ай бұрын
What a great video, thanks! I haven't done serverless before (have done a lot of flask projects in the past), but going through the tutorial has been very smooth, I can see building lots of projects on the CF platform.
@zygote846
@zygote846 2 ай бұрын
Great tutorial,Thank you CF :).We need more on Cloudflare Wokers.
@reFLEQzion
@reFLEQzion 3 ай бұрын
just signed up for cloudflare and found this. great service, great free tier, great video! i love how CF supports and handles the free tier!
@user-xl4qu5qg1c
@user-xl4qu5qg1c 3 ай бұрын
1:13 1:14
@user-xl4qu5qg1c
@user-xl4qu5qg1c 3 ай бұрын
1:19
@user-xl4qu5qg1c
@user-xl4qu5qg1c 3 ай бұрын
Р-н 1:26
@enghimanshu
@enghimanshu Ай бұрын
Amazing tutorial!
@RobertMcGovernTarasis
@RobertMcGovernTarasis 4 ай бұрын
Cheers for this, and interesting to see Kitty in the wild
@ShuklaAbhijeet
@ShuklaAbhijeet 4 ай бұрын
WOW In the morning I saw examples were Hello Rust and re-checking again I got this.
@VenkatRamanaDevarakonda
@VenkatRamanaDevarakonda 4 ай бұрын
Please do a video on email triggers as you mentioned. I am trying to build something and the video will be super helpful
@LeLettreDeLiaEtDeLaTech
@LeLettreDeLiaEtDeLaTech 4 ай бұрын
Tres interessant! Merci
@markhristov7171
@markhristov7171 4 ай бұрын
I would love to see the ai-email-summarizer!
@Anowarulislam-kl8hx
@Anowarulislam-kl8hx 3 ай бұрын
Thank you ❤❤❤❤
@Danielo515
@Danielo515 2 ай бұрын
Very good and informative
@junepark4104
@junepark4104 4 ай бұрын
Great video
@jonathanoberlander5227
@jonathanoberlander5227 3 ай бұрын
Enabling users to toggle local mode on and off is an excellent UX.
@richardmilton7948
@richardmilton7948 28 күн бұрын
Great video - thanks so much!
@CloudflareDevelopers
@CloudflareDevelopers 20 күн бұрын
You're very welcome!
@ManasMadrecha
@ManasMadrecha 3 ай бұрын
This is a useful video. Can you do one with R2 on worker and it is being used as an assets cdn for images, videos, PDFs, etc.
@liorlsa9
@liorlsa9 11 сағат бұрын
'wrangler 3.67.1' doesn't work properly, I can't start my project even when just after installing the project. Why is that? I used 'npm create cloudflare and follow any instruction. error: X [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above. MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
@sahil.lalani
@sahil.lalani 2 ай бұрын
great tutorial, are there also tutorials for streaming text responses with cloudflare workers?
@mdfaran7150
@mdfaran7150 4 ай бұрын
I'd love to see the email trigger project that you made. Thank you.
@nickgray
@nickgray 4 ай бұрын
wait this is epic
@yosemitebandit
@yosemitebandit 2 ай бұрын
would be cool to see the email ingestor + summarizer project 👍👍
@luiswebdev8292
@luiswebdev8292 Ай бұрын
Cloud provider: Let's make a tutorial about how to use our tool and UI Also Cloud provider: Let's completely revamp our tool and UI so it looks different, uses different config and different commands
@JohnathanHendrix
@JohnathanHendrix 3 ай бұрын
Excellent video. Would love to see a video from you on email triggers aummarizing with AI.
@rtorcato
@rtorcato 4 ай бұрын
can we get a sample of a react server components and cloudflare workers?
@4ssarabio
@4ssarabio 4 ай бұрын
22:22
@sashka056
@sashka056 3 ай бұрын
@@4ssarabio 22:35
@user-xl4qu5qg1c
@user-xl4qu5qg1c 3 ай бұрын
​@@4ssarabio0:16
@user-xl4qu5qg1c
@user-xl4qu5qg1c 3 ай бұрын
0:35 0:36
@user-xl4qu5qg1c
@user-xl4qu5qg1c 3 ай бұрын
0:42 0:43 0:44
@scotly_emi
@scotly_emi 4 ай бұрын
can you do R2 tutorial please
@litic
@litic 4 ай бұрын
Does anyone have any project ideas I could do using cloudflare workers?
@udayignet6119
@udayignet6119 3 ай бұрын
How to solve CORS error while submitting Blogger Form Widget, by using cloudflare custom email
@davepratt8753
@davepratt8753 4 ай бұрын
I'm looking forward to tutorial on using new Python Worker.
@philodox13
@philodox13 3 ай бұрын
I have a question. At 40:00 you create a new Ai() object. If creating new Ai() is very expensive and requires a lot of compute, is it possible to create that object outside of the GET request so you don't have to recreate a new Ai() on every request? I'm asking because I have a similar use case in my app where I need to create an expensive object, but once created, the methods on the object run very quickly. Is this a case for durable-objects offered by Cloudflare? Does this mean my app is stateful if I want a JavaScript objects to persist through requests?
@bahram9172
@bahram9172 3 ай бұрын
❤️🙏
@aemadrid
@aemadrid 2 ай бұрын
Can you use bun instead of npm?
@webbae
@webbae 3 ай бұрын
great video thank you! is there any good content on implementing libraries that have node dependencies? I've been struggling with node compat errors for some time now...
@sashka056
@sashka056 3 ай бұрын
0:59 1:04 ❤
@jimshtepa5423
@jimshtepa5423 4 ай бұрын
when are more advanced courses are coming?
@priyasinha0911
@priyasinha0911 Ай бұрын
This is a test comment from Selenium!
@user-jg4bl4pt4q
@user-jg4bl4pt4q 3 ай бұрын
how can I get started, it's great
@zahrataheri3445
@zahrataheri3445 3 ай бұрын
@user-xl4qu5qg1c
@user-xl4qu5qg1c 3 ай бұрын
40:00
@djSiMuL
@djSiMuL Ай бұрын
What font are you using in KiTTy to get that fancy VIM status bar? Beautiful!
@djSiMuL
@djSiMuL Ай бұрын
Nevermind, I figured it out. Had to install NeoVim and NVChad.
@JohnSmith-op7ls
@JohnSmith-op7ls 4 ай бұрын
Nobody’s using these 3rd tier “somebody else’s server” aka “cloud” services
@ND6K
@ND6K 4 ай бұрын
? Do you not know who cloudflare is? How much of the internet they serve? Also “cloud services” are HUGE
@JohnSmith-op7ls
@JohnSmith-op7ls 4 ай бұрын
@@ND6K Nobody uses them to host apps. Couldn’t care less about their unrelated services.
@heyjitendra
@heyjitendra 4 ай бұрын
​@@JohnSmith-op7lsLmao so much overconfidence.. Workers are used by a lot of companies. Do you know vercel edge middleware is powerful by workers??
@pushkarkathayat7893
@pushkarkathayat7893 4 ай бұрын
@@JohnSmith-op7ls come out from your cave
@RobertMcGovernTarasis
@RobertMcGovernTarasis 4 ай бұрын
You know this how?
@marketfinds
@marketfinds 3 ай бұрын
It was good up to Env. The template is a little different now has 'worker-configuration.d.ts' interface Env { } and now has index.ts. const app = new Hono(); // Fails with error message: Type '{ Bindings: Env; }' does not satisfy the constraint 'Env'. Types of property 'Bindings' are incompatible. Type 'Env' is not assignable to type 'Bindings'.
@biscuithammer
@biscuithammer 3 ай бұрын
For instantiating hono, you don't need to write . also the AI bindings can be enabled in the toml file. it works but Typescript still nags though 🤦
@columkelly99
@columkelly99 Ай бұрын
You can enable the AI binding in the toml file and then include in your index.ts: type Env = { AI: Ai } const app = new Hono(()
@columkelly99
@columkelly99 Ай бұрын
The @cloudflare/ai package used here is deprecated but the run command can be called directly from the AI binding as per the updated docs. However, doing this I get the following TypeError: Argument of type '"@cf/thebloke/mistral-7b-instruct-v0.1"' is not assignable to parameter of type 'BaseAiImageToTextModels'. Typescript assumes the wrong overload due to the messages object not being interpreted correctly. I fixed the error by defining messages with the type RoleScopedChatInput[]
@ashlok_chaudhary
@ashlok_chaudhary 5 күн бұрын
Thanks bro 👍 You really saved my time.
@sharanupst
@sharanupst 2 ай бұрын
Using Kitty. A man with taste 🤌
Is "edge" computing really faster?
8:14
Fireship
Рет қаралды 585 М.
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 19 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 37 МЛН
So, you want to be a programmer?
20:43
ForrestKnight
Рет қаралды 232 М.
Cloudflare Introduction (Tutorial for Beginners)
24:57
Astral Web Inc.
Рет қаралды 58 М.
3 - Introduction to Cloudflare
24:54
Cloudflare
Рет қаралды 6 М.
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,3 МЛН
Introduction to Cloudflare Workers and Cloudflare Pages
14:45
Ado Kukic
Рет қаралды 38 М.
AI Hackathon - Cloudflare Workers AI - Getting started
17:06
Cloudflare Developers
Рет қаралды 1 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 901 М.
İĞNE İLE TELEFON TEMİZLEMEK!🤯
0:17
Safak Novruz
Рет қаралды 511 М.
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН