Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ishtms/learn-nodejs-hard-way
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.20
Choose a base ref
...
head repository: ishtms/learn-nodejs-hard-way
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Sep 16, 2023

  1. adds images

    ishtms committed Sep 16, 2023
    Copy the full SHA
    7a88097 View commit details

Commits on Sep 17, 2023

  1. Copy the full SHA
    4a89681 View commit details
  2. Copy the full SHA
    9cd91c2 View commit details
  3. Copy the full SHA
    8ee771d View commit details
  4. adds image for ch-ex2

    ishtms committed Sep 17, 2023
    Copy the full SHA
    573eca3 View commit details
  5. Copy the full SHA
    560ecfb View commit details

Commits on Sep 18, 2023

  1. Update Readme.md

    ishtms authored Sep 18, 2023
    Copy the full SHA
    0cae05c View commit details
  2. Copy the full SHA
    15d50eb View commit details

Commits on Sep 19, 2023

  1. Copy the full SHA
    95c81b6 View commit details
  2. Copy the full SHA
    d3597fd View commit details
  3. Copy the full SHA
    85e0eac View commit details

Commits on Sep 22, 2023

  1. resolves #26

    ishtms committed Sep 22, 2023
    Copy the full SHA
    b3b652e View commit details

Commits on Sep 24, 2023

  1. Copy the full SHA
    8342201 View commit details
  2. Merge pull request #28 from Rishabh-Singh-01/typo-fix

    Update open_file to read_file in ch03
    ishtms authored Sep 24, 2023
    Copy the full SHA
    b209250 View commit details
  3. Copy the full SHA
    9fba7b9 View commit details
  4. Copy the full SHA
    c0a8afc View commit details
  5. Copy the full SHA
    0f123ff View commit details

Commits on Sep 30, 2023

  1. fix a typo

    0xm4ze committed Sep 30, 2023
    Copy the full SHA
    ac38bc3 View commit details

Commits on Oct 13, 2023

  1. Merge pull request #30 from tal7aouy/tal7aouy

    fix a typo
    ishtms authored Oct 13, 2023
    Copy the full SHA
    f90475c View commit details
  2. fixes #27 | removes obsolte code

    ishtms committed Oct 13, 2023
    Copy the full SHA
    0b4f60b View commit details
  3. Copy the full SHA
    ae5473b View commit details

Commits on Nov 17, 2023

  1. Copy the full SHA
    c2233b0 View commit details

Commits on Nov 18, 2023

  1. Copy the full SHA
    4a1527f View commit details

Commits on Nov 28, 2023

  1. docs: typo on comment

    Just fixed a single letter on the docs that was written wrong!
    rafaelnacle authored Nov 28, 2023
    Copy the full SHA
    93ace0c View commit details

Commits on Dec 2, 2023

  1. Merge pull request #34 from rafaelnacle/patch-1

    docs: typo on comment
    ishtms authored Dec 2, 2023
    Copy the full SHA
    d2e0ed3 View commit details

Commits on Dec 29, 2023

  1. Copy the full SHA
    a95955b View commit details

Commits on Jan 28, 2024

  1. Merge pull request #35 from timbot1789/timbot-ch-6-fixes

    Minor punctuation fixes to Ch 6
    ishtms authored Jan 28, 2024
    Copy the full SHA
    7e565d4 View commit details
  2. Copy the full SHA
    76f7d81 View commit details
  3. Copy the full SHA
    5e41183 View commit details
  4. Copy the full SHA
    446ad5d View commit details
  5. change grammar

    ishtms committed Jan 28, 2024
    Copy the full SHA
    3e4ff3f View commit details

Commits on Feb 21, 2024

  1. Fixed Typo (ch. 6, 6.2)

    Alucard2169 authored Feb 21, 2024
    Copy the full SHA
    7bb292b View commit details

Commits on Jun 29, 2024

  1. docs: typo fix in ch04.1

    souhub authored Jun 29, 2024
    Copy the full SHA
    2788618 View commit details
  2. docs: typo fix in ch04.1

    souhub committed Jun 29, 2024
    Copy the full SHA
    6e95819 View commit details

Commits on Aug 26, 2024

  1. Copy the full SHA
    a556acf View commit details
  2. Merge pull request #52 from souhub/patch-1

    docs: typo fix in ch04.1
    ishtms authored Aug 26, 2024
    Copy the full SHA
    7e5bdda View commit details
  3. Merge pull request #46 from Alucard2169/patch-9

    Fixed Typo (ch. 6, 6.2)
    ishtms authored Aug 26, 2024
    Copy the full SHA
    ab49a7e View commit details
  4. Copy the full SHA
    6e337d0 View commit details
  5. Copy the full SHA
    8e653a4 View commit details

Commits on Aug 27, 2024

  1. removes a redundant condition

    ishtms committed Aug 27, 2024
    Copy the full SHA
    7c5ad25 View commit details
  2. cleanup readme

    ishtms committed Aug 27, 2024
    Copy the full SHA
    7fd18a3 View commit details
  3. Copy the full SHA
    c1334a0 View commit details
  4. Copy the full SHA
    274469c View commit details
  5. rename code directory

    ishtms committed Aug 27, 2024
    Copy the full SHA
    b42c1e1 View commit details
  6. Copy the full SHA
    99a0a5f View commit details
  7. update index

    ishtms committed Aug 27, 2024
    Copy the full SHA
    2b3fab3 View commit details
  8. Copy the full SHA
    0ab94cd View commit details
  9. Adds chapter 06.8 - HTTP methods support to Router

    + Update readme
    ishtms committed Aug 27, 2024
    Copy the full SHA
    44cc3ab View commit details

Commits on Aug 28, 2024

  1. Copy the full SHA
    83d677d View commit details
  2. Copy the full SHA
    c5d77a9 View commit details
Showing with 6,394 additions and 1,901 deletions.
  1. +3 −1 .gitignore
  2. +1 −0 .husky/pre-commit
  3. +258 −251 Readme.md
  4. +33 −0 Readme.tl
  5. BIN assets/benchmark.webp
  6. BIN assets/imgs/compressed/cover.jpg
  7. BIN assets/imgs/compressed/dynamic_router_trie.webp
  8. BIN assets/imgs/cover.jpg
  9. BIN assets/imgs/dynamic_router_trie.webp
  10. +0 −1 chapters/Readme.md
  11. +87 −90 chapters/ch00-nodejs-faster-than-you-think.md
  12. +9 −11 chapters/{ch01-what-is-a-web-server-anyway.md → ch01.0-what-is-a-web-server-anyway.md}
  13. +8 −8 chapters/{ch02-your-first-nodejs-server.md → ch02.0-your-first-nodejs-program.md}
  14. +87 −86 chapters/{ch03-working-with-files.md → ch03.0-working-with-files.md}
  15. +214 −224 chapters/{ch04-logtar-our-logging-library.md → ch04.0-logtar-our-logging-library.md}
  16. +306 −311 chapters/ch04.1-refactoring-the-code.md
  17. +71 −71 chapters/ch04.2-writing-logs.md
  18. +48 −45 chapters/ch04.3-capturing-metadata.md
  19. +15 −15 chapters/ch04.4-intro-to-async-vs-sync.md
  20. +48 −52 chapters/ch04.5-rolling-file-support.md
  21. +29 −29 chapters/ch05.0-http-deep-dive.md
  22. +107 −103 chapters/ch05.1-http-verbs-versioning-http1_1.md
  23. +10 −10 chapters/ch05.2-user-agents.md
  24. +13 −11 chapters/ch05.3-mime-type-and-content-type.md
  25. +53 −50 chapters/ch05.4-headers.md
  26. +30 −28 chapters/ch05.5-response-status-codes.md
  27. +45 −45 chapters/{ch06.0-velocy-our-backend-framework.md → ch06.00-velocy-our-backend-framework.md}
  28. +170 −170 chapters/{ch06.1-basic-router-implementation.md → ch06.01-basic-router-implementation.md}
  29. +111 −111 chapters/{ch06.2-the-router-class.md → ch06.02-the-router-class.md}
  30. +6 −6 chapters/{ch06.3-improving-the-router-api.md → ch06.03-improving-the-router-api.md}
  31. +7 −5 chapters/{ch06.4-the-need-for-a-trie.md → ch06.04-the-need-for-a-trie.md}
  32. +148 −98 chapters/{ch07.0-ex-implementing-a-trie.md → ch06.05-ex-implementing-a-trie.md}
  33. +525 −0 chapters/ch06.06-ex-implementing-router.md
  34. +195 −0 chapters/ch06.07-ex-adding-http-methods.md
  35. +91 −0 chapters/ch06.08-adding-verbs-api.md
  36. +460 −0 chapters/ch06.09-ex-dynamic-routing.md
  37. +217 −0 chapters/ch06.10-running-our-server.md
  38. +337 −0 chapters/ch06.11-building-a-web-server.md
  39. +606 −0 chapters/ch06.12-query-parameters.md
  40. +0 −3 code/README.md
  41. +0 −3 code/chapter_04.1/README.md
  42. +0 −3 code/chapter_04.2/README.md
  43. +0 −15 code/chapter_04.2/test.js
  44. +0 −3 code/chapter_04.3/README.md
  45. +0 −25 code/chapter_04.3/test.js
  46. +67 −0 genIndex.js
  47. +9 −0 new-in-this-release.log
  48. +32 −0 package-lock.json
  49. +34 −0 package.json
  50. +1 −0 src/README.md
  51. +1 −0 src/chapter_04.0/README.md
  52. 0 {code → src}/chapter_04.0/index.js
  53. +0 −2 {code/chapter_04.0 → src/chapter_04.1}/README.md
  54. 0 {code → src}/chapter_04.1/index.js
  55. 0 {code/chapter_04.2 → src/chapter_04.1}/lib/config/log-config.js
  56. 0 {code → src}/chapter_04.1/lib/config/rolling-config.js
  57. +1 −1 {code → src}/chapter_04.1/lib/logger.js
  58. 0 {code → src}/chapter_04.1/lib/logtar.js
  59. 0 {code → src}/chapter_04.1/lib/utils/log-level.js
  60. 0 {code → src}/chapter_04.1/lib/utils/rolling-options.js
  61. 0 {code → src}/chapter_04.1/package.json
  62. +1 −0 src/chapter_04.2/README.md
  63. 0 {code → src}/chapter_04.2/config.json
  64. 0 {code → src}/chapter_04.2/index.js
  65. 0 {code/chapter_04.3 → src/chapter_04.2}/lib/config/log-config.js
  66. 0 {code → src}/chapter_04.2/lib/config/rolling-config.js
  67. +5 −5 {code → src}/chapter_04.2/lib/logger.js
  68. 0 {code → src}/chapter_04.2/lib/logtar.js
  69. 0 {code → src}/chapter_04.2/lib/utils/helpers.js
  70. 0 {code → src}/chapter_04.2/lib/utils/log-level.js
  71. 0 {code → src}/chapter_04.2/lib/utils/rolling-options.js
  72. 0 {code → src}/chapter_04.2/logs/LogTar_2023-08-18T19-48-03.log
  73. 0 {code → src}/chapter_04.2/package-lock.json
  74. 0 {code → src}/chapter_04.2/package.json
  75. +1 −0 src/chapter_04.3/README.md
  76. 0 {code → src}/chapter_04.3/index.js
  77. 0 {code/chapter_04.5 → src/chapter_04.3}/lib/config/log-config.js
  78. 0 {code → src}/chapter_04.3/lib/config/rolling-config.js
  79. +2 −3 {code → src}/chapter_04.3/lib/logger.js
  80. 0 {code → src}/chapter_04.3/lib/logtar.js
  81. 0 {code → src}/chapter_04.3/lib/utils/helpers.js
  82. 0 {code → src}/chapter_04.3/lib/utils/log-level.js
  83. 0 {code → src}/chapter_04.3/lib/utils/rolling-options.js
  84. 0 {code → src}/chapter_04.3/logs/Logtar_2023-08-19T19-11-51.log
  85. 0 {code → src}/chapter_04.3/package-lock.json
  86. 0 {code → src}/chapter_04.3/package.json
  87. 0 {code → src}/chapter_04.5/.gitignore
  88. 0 {code → src}/chapter_04.5/.vscode/settings.json
  89. +0 −2 {code → src}/chapter_04.5/README.md
  90. 0 {code → src}/chapter_04.5/config.json
  91. 0 {code → src}/chapter_04.5/index.js
  92. +1 −1 {code/chapter_04.1 → src/chapter_04.5}/lib/config/log-config.js
  93. 0 {code → src}/chapter_04.5/lib/config/rolling-config.js
  94. +3 −3 {code → src}/chapter_04.5/lib/logger.js
  95. 0 {code → src}/chapter_04.5/lib/logtar.js
  96. 0 {code → src}/chapter_04.5/lib/utils/helpers.js
  97. 0 {code → src}/chapter_04.5/lib/utils/log-level.js
  98. 0 {code → src}/chapter_04.5/lib/utils/rolling-options.js
  99. 0 {code → src}/chapter_04.5/logs/Logtar_2023-08-22T00-41-58.log
  100. 0 {code → src}/chapter_04.5/logs/Logtar_2023-08-22T00-41-59.log
  101. 0 {code → src}/chapter_04.5/logs/Logtar_2023-08-22T00-42-01.log
  102. 0 {code → src}/chapter_04.5/logs/Logtar_2023-08-22T00-42-02.log
  103. 0 {code → src}/chapter_04.5/logs/Logtar_2023-08-22T00-42-03.log
  104. 0 {code → src}/chapter_04.5/logs/Logtar_2023-08-22T00-42-04.log
  105. 0 {code → src}/chapter_04.5/logs/Logtar_2023-08-22T00-42-05.log
  106. 0 {code → src}/chapter_04.5/logs/Logtar_2023-08-22T00-42-06.log
  107. 0 {code → src}/chapter_04.5/logs/Logtar_2023-08-22T00-42-07.log
  108. 0 {code → src}/chapter_04.5/logs/Logtar_2023-08-22T00-42-08.log
  109. 0 {code → src}/chapter_04.5/package.json
  110. +34 −0 src/chapter_06.01/index.js
  111. +43 −0 src/chapter_06.02/index.js
  112. +95 −0 src/chapter_06.03/index.js
  113. +32 −0 src/chapter_06.05/challenge_1.js
  114. +50 −0 src/chapter_06.05/challenge_2.js
  115. +66 −0 src/chapter_06.06/challenge_1.js
  116. +82 −0 src/chapter_06.06/challenge_2.js
  117. +74 −0 src/chapter_06.07/index.js
  118. +109 −0 src/chapter_06.08/index.js
  119. +152 −0 src/chapter_06.09/index.js
  120. +3 −0 src/chapter_06.10/globals.js
  121. +231 −0 src/chapter_06.10/index.js
  122. +7 −0 src/chapter_06.11/globals.js
  123. +15 −0 src/chapter_06.11/lib/constants.js
  124. +30 −0 src/chapter_06.11/lib/index.js
  125. +191 −0 src/chapter_06.11/lib/router.js
  126. +7 −0 src/chapter_06.12/challenge1/globals.js
  127. +15 −0 src/chapter_06.12/challenge1/lib/constants.js
  128. +31 −0 src/chapter_06.12/challenge1/lib/index.js
  129. +224 −0 src/chapter_06.12/challenge1/lib/router.js
  130. +7 −0 src/chapter_06.12/challenge2/globals.js
  131. +15 −0 src/chapter_06.12/challenge2/lib/constants.js
  132. +33 −0 src/chapter_06.12/challenge2/lib/index.js
  133. +231 −0 src/chapter_06.12/challenge2/lib/router.js
  134. +111 −0 src/chapter_06.12/challenge2/lib/utils.js
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.DS_Store
test.md
generate-index.js
generate-index.js
test.js
node_modules/
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node genIndex.js
Loading