Serverless API with Cloudflare Workers (Hono, D1 & Drizzle ORM)

Описание к видео Serverless API with Cloudflare Workers (Hono, D1 & Drizzle ORM)

Cloudflare Workers - a hot topic as of late but the one thing not many videos are covering is how to query a serverless database. In this video, we're setting up a Cloudflare D1 database and querying it using Drizzle ORM. The REST API is built using Hono for the routing and we have Bun as the package manager. Let me know if there are any other Cloudflare tools that interest you!

#cloudflare #bunjs #hono #drizzleorm

Source Code: https://github.com/cdbrw/cfw-bun-hono...
Set up Drizzle ORM:    • Get Started With Drizzle ORM - Migrat...  
Deploy a Bun App:    • Deploy a Bun API in Under 5 Minutes -...  

➙ Blog: https://links.cdbrw.com/blog
➙ GitHub: https://links.cdbrw.com/github
➙ Twitter: https://links.cdbrw.com/x

👉 Support the channel: https://links.cdbrw.com/support

➙ My browser: https://links.cdbrw.com/browser
➙ Recording software: https://links.cdbrw.com/recording
➙ Microphone (US): https://links.cdbrw.com/mic-us
➙ Microphone (CA): https://links.cdbrw.com/mic-ca

00:00 Introduction
01:21 Setup
03:27 First Deploy
04:15 Dependencies
04:42 Database Create
05:16 Env Variables
07:20 Drizzle Setup
08:25 Querying Database
09:22 Local Migrations
10:07 Local DB Connection
10:33 Production Migrations
11:28 More Routes
12:23 Testing API

Комментарии

Информация по комментариям в разработке