Learn Bun by building a real notes app — from an empty folder to a deployed server. Part I is free now. Parts II and III are on the way.
// Your first Bun server
const server = Bun.serve({
port: 3000,
routes: {
"/": () =>
new Response("Hello, Bun!"),
},
});
// $ bun run index.ts
console.log(`Listening on ${server.url}`);
Part I is free, forever. Sign up and I'll send an email when the paid Part II and III are ready.
Unsubscribe anytime.
Start with an empty folder. End with a working web app, persisted to a database, running on the internet. Every step is real code.
$ bun run
Install Bun, write your first script, see it run.
Bun.serve
A web server, routes, layouts, and forms.
bun:sqlite
Notes that survive a restart, stored in SQLite.
systemd
A real domain, HTTPS, and logs you can read.
Most JavaScript tutorials teach you Node, then bolt on a bundler, a test runner, a TypeScript transpiler, a process manager. That's a lot to install before you've written a line of code.
Bun does all of those jobs out of the box. This book teaches you Bun the way it's meant to be used — start with the built-ins, add a dependency only when you actually need it, and finish with a real app you can show people.
Each chapter is short and runnable. You build one thing per chapter. By the end, you've shipped a notes app to a real server.