This repo contains chapters which explains how one can build a minimal express library.
Switch branches/tags
Nothing to show
Clone or download
Latest commit ad0397e Oct 26, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
chap01 chore: remove .idea and .DS_Store Oct 18, 2018
chap02 chore: remove .idea and .DS_Store Oct 18, 2018
chap03 Add links to next chapters Oct 19, 2018
chap04 Add links to next chapters Oct 19, 2018
chap05 chore: remove .idea and .DS_Store Oct 18, 2018
.gitignore chore: remove .idea and .DS_Store Oct 18, 2018 creating license Jun 15, 2018 Fix license link Oct 26, 2018


This series of chapters will teach you how to create the express library from scratch. This will help us understand how express actually works, behind the scenes. I will use the same code, variable names, and so forth from express itself, so that people can read this tutorial and feel free to contribute to express directly.


I find people do often get confused with how next works, or how route order works in express. By building the express library, we can gain a more solid understanding. Also, it's fun!

Each chapter will build express step by step with running examples.

Here is the TOC:

  1. Chapter 01 -- Building Express Abstractions
  2. Chapter 02 -- Handling routes out of the box
  3. Chapter 03 -- Implement next function
  4. Chapter 04 -- Extending Response Object
  5. Chapter 05 -- Implementing send/json on response
  6. Chapter 06 -- Error Handling (WIP)
  7. More to come.


Its work in progress, but minimal working library and the corresponding tutorial is done.

Contributions Welcome

Feel free to improve this repo: grammar mistakes, technical glitches, maybe translations? Happy to accept PRs.