Skip to content

Commit 44cc3ab

Browse files
committed
Adds chapter 06.8 - HTTP methods support to Router
+ Update readme
1 parent 0ab94cd commit 44cc3ab

File tree

3 files changed

+6
-91
lines changed

3 files changed

+6
-91
lines changed

Readme.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ The repo for our backend framework- [Velocy](https://github.com/ishtms/velocy).
274274
- [Hints](/chapters/ch06.5-ex-implementing-a-trie.md#hints)
275275
- [Solution](/chapters/ch06.5-ex-implementing-a-trie.md#solution-1)
276276
- [Exercise 2 - Implementing our Trie based `Router`](/chapters/ch06.6-ex-implementing-router.md#exercise-2---implementing-our-trie-based-router)
277+
277278
- [Challenge 1: Implementing the `addRoute` method](/chapters/ch06.6-ex-implementing-router.md#challenge-1-implementing-the-addroute-method)
278279
- [Requirements](/chapters/ch06.6-ex-implementing-router.md#requirements)
279280
- [More details](/chapters/ch06.6-ex-implementing-router.md#more-details)
@@ -293,7 +294,10 @@ The repo for our backend framework- [Velocy](https://github.com/ishtms/velocy).
293294
- [Example](/chapters/ch06.7-ex-adding-http-methods#example)
294295
- [Hints](/chapters/ch06.7-ex-adding-http-methods#hints)
295296
- [Solution](/chapters/ch06.7-ex-adding-http-methods#solution)
296-
- [Exercise 5 - Implementing Dynamic Routing](/chapters/ch06.9-ex-dynamic-routing#exercise-4-implementing-dynamic-routing)
297+
298+
- [Adding HTTP methods to the Router](/chapters/ch06.8-adding-verbs-api.md)
299+
- [Update the `TrieRouter` class](/chapters/ch06.8-adding-verbs-api.md#update-the-trierouter-class)
300+
- [Exercise 4 - Implementing Dynamic Routing](/chapters/ch06.9-ex-dynamic-routing#exercise-4-implementing-dynamic-routing)
297301
- [Why Dynamic Routing?](/chapters/ch06.9-ex-dynamic-routing#why-dynamic-routing)
298302
- [Flexibility](/chapters/ch06.9-ex-dynamic-routing#flexibility)
299303
- [Better User Experience](/chapters/ch06.9-ex-dynamic-routing#better-user-experience)

chapters/ch06.8-ex-adding-verbs-api.md

-89
This file was deleted.

chapters/ch06.9-ex-dynamic-routing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Exercise 5 - Implementing Dynamic Routing
1+
## Exercise 4 - Implementing Dynamic Routing
22

33
When we're building a server application, dynamic routing is an essential feature for creating flexible and scalable applications. To fully grasp its significance and how we can enhance our router to support dynamic routes like `/users/:id`, let's delve into the concept of dynamic routing.
44

0 commit comments

Comments
 (0)