b
LearnBun.org
A course in progress · written chapter by chapter

Bun for Beginners

Build and deploy a real Bun app, one small chapter at a time.

Start with an empty folder. Write your first Bun server. Add routes, forms, tests, SQLite, accounts, sessions, search, and deployment. By the end, you will have built a complete notes app instead of a pile of disconnected examples.

Read the introduction and first six chapters free.

At a glance
Part I
Orientation and first success
5 free chapters
Part II
Build the notes app
1 free preview · 8 paid chapters
Part III
Ship it
4 planned chapters

View full chapter outline →

What you'll build

One notes app, built piece by piece. Each chapter adds one of the following:

Chapter outline

The course is organized around one project: a notes app that grows from a blank folder into a deployed web app.

Part III — Ship It

Planned
  1. 14 Prepare for Production Planned
  2. 15 Deploy to a VPS Planned
  3. 16 Domains, HTTPS, and Logs Planned
  4. 17 Next Steps Planned

Why I’m writing this

Bun is fast, practical, and still young enough that a lot of learning material jumps between toy examples and framework assumptions. This course takes the slower path: build one small app, add one idea at a time, and keep every chapter runnable.

I wrote it for people who want to understand the server before reaching for a framework.

When the course is complete, I plan to adapt it into a self-published physical book.

This is for you if
  • You know some JavaScript or TypeScript.
  • You want to learn Bun by building instead of reading API summaries.
  • You prefer small chapters with working code.
  • You want to understand the server before adding a framework.

Start with the free chapters

Read the introduction and first six chapters before deciding whether the full course is useful to you.

Feedback