Recreating Our Application in Rocket
At this point, we have built a fully functioning to-do application with the Actix Web framework. In this chapter, we will go through the core concepts so that there will be nothing holding us back if we decide to completely recreate the to-do application in Rocket. This framework might appeal to some developers because it does not need as much boilerplate code.
In this chapter, we will fully utilize our isolated modular code to completely recreate our application in one chapter by copying over and plugging in our existing modules, views, database connection configuration, and test pipeline. Even if you are not interested in building web applications in Rocket, I still suggest you still complete this chapter because you will get to experience why it is important to perform well-decoupled testing and write well-structured code, as good tests and structure will enable you to switch web frameworks will little effort.
In this chapter, we will cover...