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
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
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.
Course 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.