Build Rust Powered Apps on Cloudflare Workers

Build Rust Powered Apps on Cloudflare Workers

6.234 Lượt nghe
Build Rust Powered Apps on Cloudflare Workers
Rust is now a fully supported language in Cloudflare Workers, that means you can now use Rust to build fast and safe apps. In this video, we will show you how to build a global database using workers-rs to keep track of every country and city you’ve visited. Create an account on Cloudflare today for free: https://dash.cloudflare.com/sign-up Tools mentioned: https://developers.cloudflare.com https://developers.cloudflare.com/workers/wrangler/commands/#kvnamespace https://developers.cloudflare.com/workers/wrangler/configuration/ https://www.rust-lang.org/tools/install https://serde.rs/ https://rust-cities.walshy-work.workers.dev Chapters: 00:00 Intro + Rust now supports workers-rs 00:49 Let’s get started with building in workers-rs 01:29 Create your Worker project in Rust 03:30 Create a KV namespace 05:54 Configure the POST endpoint 11:44 Write data to KV 13:55 Configure GET endpoint 15:03 Read data from KV 17:03 Error handling 17:26 Deploy your project globally #cloudflare #cloudflareworkers #developer #rust #serverless #developers #api