Part 3:Data Persistence
Now that our application handles HTTP requests and displays the content in the browser, we need to store and process data properly. In this part, you will learn how to manage databases locally in development with Docker and how to perform database migrations with SQL scripts. You will also learn how to map the database schema to the Rust application, querying and updating the database from Rust. After this part, you will be able to manage database connection pools, data models, and migrations; log in and authenticate requests with middleware; and cache data in the frontend, exploring RESTful concepts.
This part includes the following chapters:
- Chapter 6, Data Persistence with PostgreSQL
- Chapter 7, Managing User Sessions
- Chapter 8, Building RESTful Services