Build type-safe backend APIs with Bun, Elysia, and TypeScript.
- Understand how code works and why JavaScript/TypeScript
- Write programs using core JS/TS language features
- Build HTTP APIs with Elysia (Bun-native) or Hono (multi-runtime)
- Use databases with type-safe ORM (Drizzle)
- Validate input, test code, and deploy
| Stage | Topic | Level |
|---|---|---|
| 00-foundations | What programming is, paradigms, JS history | Entry |
| 01-first-code | Variables, control flow, functions, data structures | Entry |
| 02-core-language | Async, modules, TypeScript, event loop | Mid |
| 03-backend-fundamentals | HTTP, REST, API with Elysia, database, validation | Mid |
| 04-production | Testing, logging, config, deployment | Senior |
| 05-workshop | Build a complete type-safe API | Senior |
- Runtime: Bun (not Node.js)
- Framework: Elysia (Bun-native) or Hono (multi-runtime)
- Language: TypeScript
- ORM: Drizzle
- Validation: Elysia's
t(powered by TypeBox)
Each file is self-contained. Read in order. Every file has code examples you can run with bun run <file>.