Autoplay
Autocomplete
Previous Lecture
Complete and Continue
Bun - The Practical Guide
Essentials
Welcome To The Course (0:55)
What Is Bun? And Why Would You Use It? (4:37)
Installing Bun & About This Course (1:26)
Running TypeScript Code (1:15)
Bun AI Agent Skill
Bun's Node.js Compatibility (0:52)
Bun For Package & Project Management (4:07)
The Bun Runtime in Action - Building a Web Server (7:41)
Using Bun For Dependency Management (4:51)
Dev Servers, Watch Modes & Building Projects with Bun (5:12)
Using Bun For Automated Testing (3:24)
Configuring Bun via bunfig.toml (2:27)
Example: Building a Utility CLI Tool with Bun (3:49)
Example: Building an Image Optimization Tool with Bun (16:57)
Creating Standalone, Single File Executable Files (2:57)
Node.js Compatibility & "Forcing" The Bun Runtime (5:04)
Core APIs
Module Introduction (0:42)
Creating a Bun Server (4:00)
Basic Custom Routing & Managing Incoming Requests (3:31)
Serving HTML Files (2:58)
Using Bun's Router Feature (4:49)
Working with Dynamic Routes (0:50)
Bun's File Loaders & Support For Various Input Files (8:35)
File Imports vs Bun's File API (2:22)
Using Bun's File APIs (5:50)
The Glob API (4:05)
Handling & Rendering Markdown with Bun (5:57)
Markdown, Frontmatter & Creating a Blog Site (6:53)
Optimizing Images with Bun (Image API) (8:30)
Example: Image Optimization in a Blog Website (5:33)
Bun's SQLite API (6:06)
Alternative: Importing SQLite Files (1:48)
SQLite: Config & Base Methods (1:47)
Working with (Dynamic) SQLite Queries (10:24)
Managing Environment Variables with Bun (3:19)
Using Bun's SQL Client (5:18)
Understanding SQL Query Execution (0:54)
SQL Transactions (1:28)
Using Bun SQL With Postgres (5:32)
Understanding S3 & Object Stores
Bun's S3 Client API (6:47)
Uploading via S3 Client (6:06)
Listing Files & Downloading Files (S3) (3:25)
Presigned URLs (S3) (2:41)
Using fetch() For S3 Access (1:19)
Bun Websockets: Server (8:03)
Bun Websockets: Connecting to the Server (7:49)
Bun Websockets: Client (2:15)
Complete Demo Application
Module Introduction (2:26)
Project Structure & The Bun Agent Skill (2:45)
Project Overview: The Frontend (Non Bun) (1:32)
Analyzing the Bun API Server (4:23)
Understanding the Routing Logic (Bun Router) (6:49)
Auth (better-auth) & Helper Functions (4:01)
Using Bun SQLite (2:41)
Image Uploads to R2 via Bun's S3 Client (9:36)
Optimizing Images via Bun Image API (2:50)
Bun-powered Automated Testing (2:14)
Listing Files & Downloading Files (S3)
Lecture content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock