Summary
In this chapter, we have gone through the main concepts needed to replicate our to-do application. We built and ran a Rocket server. We then defined routes and established a database connection for our server. After that, we explored middleware and built authentication and data processing, using guards for our views. With this, we created a view that utilized everything we have covered in this book.
What we gained here was a deeper appreciation for the modular code that we have built throughout this book. Even though some of the concepts we revisited had not been touched since the start of this book, these modules were isolated, did one thing, and did what their labels proposed. Because of this, they can easily be copied over and utilized in a completely different framework. Our test pipeline also came in handy, instantly confirming that our Rocket application behaves in the same way our Actix Web application does. With this in mind, our Rocket application could be seamlessly...