6 Evolving the APIs and fearless refactoring
This chapter covers
- Revamping the project structure
- Enhancing the data model for course creation and management
- Enabling tutor registration and management
In the previous chapter, we covered the basics of error handling in Rust and how we can design custom error handling for our web service. After working through the last few chapters, you should now have a foundational understanding of how a web service is structured using the Actix Web framework, how you can talk to a relational database for CRUD activities, and how to handle any errors that occur while processing incoming data and requests. In this chapter, we will step up the pace and deal with something that we cannot avoid in the real world: ...
Get Rust Servers, Services, and Apps now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.