Technical requirements
In this chapter, we go back to the example web application we built in Part 2 of this book. We will look at the routers and router plugs in those applications, along with the controllers and views built in the previous chapter, and use those to define the requirements of the router DSL.
Similar to previous chapters, Elixir 1.12.x
and Erlang 23.2.x
are required to properly run the code snippets in this chapter. I’d also recommend coding along and understanding why we decided to use metaprogramming for this use case.
The code examples for this chapter can be found at https://github.com/PacktPublishing/Build-Your-Own-Web-Framework-in-Elixir/tree/main/chapter_10