Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antsmartian/lets-build-express
This repo contains chapters which explains how one can build a minimal express library.
https://github.com/antsmartian/lets-build-express
Last synced: about 2 months ago
JSON representation
This repo contains chapters which explains how one can build a minimal express library.
- Host: GitHub
- URL: https://github.com/antsmartian/lets-build-express
- Owner: antsmartian
- License: mit
- Created: 2018-06-12T08:42:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-25T17:17:53.000Z (10 months ago)
- Last Synced: 2024-05-19T02:10:30.937Z (4 months ago)
- Language: JavaScript
- Size: 612 KB
- Stars: 895
- Watchers: 33
- Forks: 53
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# lets-build-express
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.
# Why?
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](https://github.com/antoaravinth/lets-build-express/blob/master/chap01/CHAP01.md)
2. [Chapter 02 -- Handling routes out of the box](https://github.com/antoaravinth/lets-build-express/blob/master/chap02/CHAP02.md)
3. [Chapter 03 -- Implement `next` function](https://github.com/antoaravinth/lets-build-express/blob/master/chap03/CHAP03.md)
4. [Chapter 04 -- Extending Response Object](https://github.com/antoaravinth/lets-build-express/blob/master/chap04/CHAP04.md)
5. [Chapter 05 -- Implementing `send`/`json` on `response`](https://github.com/antoaravinth/lets-build-express/blob/master/chap05/CHAP05.md)
6. Chapter 06 -- Error Handling (WIP)
7. More to come.#### Note
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.#### License
[MIT](https://github.com/antoaravinth/lets-build-express/blob/master/LICENSE.md)