Technical requirements
In this chapter, we will be using Docker to define, run a PostgreSQL database, and run it. This will enable our app to interact with a database on our local machine. Docker can be installed by following the instructions at https://docs.docker.com/engine/install/.
We will also be using docker-compose
on top of Docker to orchestrate our Docker containers. This can be installed by following the instructions at https://docs.docker.com/compose/install/.
The code files for this chapter can be found at https://github.com/PacktPublishing/Rust-Web-Programming-2nd-Edition/tree/main/chapter06.