Skip to content

Commit

Permalink
Adds chapter 06.8 - HTTP methods support to Router
Browse files Browse the repository at this point in the history
+ Update readme
  • Loading branch information
ishtms committed Aug 27, 2024
1 parent 0ab94cd commit 44cc3ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 91 deletions.
6 changes: 5 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ The repo for our backend framework- [Velocy](https://github.com/ishtms/velocy).
- [Hints](/chapters/ch06.5-ex-implementing-a-trie.md#hints)
- [Solution](/chapters/ch06.5-ex-implementing-a-trie.md#solution-1)
- [Exercise 2 - Implementing our Trie based `Router`](/chapters/ch06.6-ex-implementing-router.md#exercise-2---implementing-our-trie-based-router)

- [Challenge 1: Implementing the `addRoute` method](/chapters/ch06.6-ex-implementing-router.md#challenge-1-implementing-the-addroute-method)
- [Requirements](/chapters/ch06.6-ex-implementing-router.md#requirements)
- [More details](/chapters/ch06.6-ex-implementing-router.md#more-details)
Expand All @@ -293,7 +294,10 @@ The repo for our backend framework- [Velocy](https://github.com/ishtms/velocy).
- [Example](/chapters/ch06.7-ex-adding-http-methods#example)
- [Hints](/chapters/ch06.7-ex-adding-http-methods#hints)
- [Solution](/chapters/ch06.7-ex-adding-http-methods#solution)
- [Exercise 5 - Implementing Dynamic Routing](/chapters/ch06.9-ex-dynamic-routing#exercise-4-implementing-dynamic-routing)

- [Adding HTTP methods to the Router](/chapters/ch06.8-adding-verbs-api.md)
- [Update the `TrieRouter` class](/chapters/ch06.8-adding-verbs-api.md#update-the-trierouter-class)
- [Exercise 4 - Implementing Dynamic Routing](/chapters/ch06.9-ex-dynamic-routing#exercise-4-implementing-dynamic-routing)
- [Why Dynamic Routing?](/chapters/ch06.9-ex-dynamic-routing#why-dynamic-routing)
- [Flexibility](/chapters/ch06.9-ex-dynamic-routing#flexibility)
- [Better User Experience](/chapters/ch06.9-ex-dynamic-routing#better-user-experience)
Expand Down
89 changes: 0 additions & 89 deletions chapters/ch06.8-ex-adding-verbs-api.md

This file was deleted.

2 changes: 1 addition & 1 deletion chapters/ch06.9-ex-dynamic-routing.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Exercise 5 - Implementing Dynamic Routing
## Exercise 4 - Implementing Dynamic Routing

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.

Expand Down

0 comments on commit 44cc3ab

Please sign in to comment.