Free course
Bun Course
Learn Bun by running TypeScript, managing packages, using runtime APIs, building an HTTP API with SQLite, testing it, and shipping it.
Prerequisites: JavaScript and TypeScript
Your progress
of lessons completed.
Course completed.
What you'll learn
Build, test, bundle, and ship a small notes API using Bun, Web Standard APIs, and SQLite.
Take this course offline
Subscribe to my newsletter to get every free book and course in PDF and EPUB format.
Get the downloadsCourse contents
Bun foundations
Install Bun, create a TypeScript project, run code, and use the development workflow.
Packages and scripts
Manage dependencies, lock installs, run package binaries, and control install scripts.
Runtime APIs
Read configuration, work with files, run child processes, and judge Node.js compatibility.
HTTP and SQLite
Build a notes API with Bun.serve, Web Standard requests and responses, and bun:sqlite.
Test, build, and ship
Test the application, create production output, compile an executable, and review the release.