Technical requirements
For this chapter, we have the same technical requirements as the previous chapter. We need a Rust compiler, a text editor, an HTTP client, and a PostgreSQL database server.
For the text editor, you can try adding an extension supporting the Tera template. If there is no extension for Tera, try adding an extension for a Jinja2 or Django template and set the file association to include the *.tera
file.
We are going to add CSS to our application, and we are going to use stylesheets from https://minicss.org/ since it's small and open source. Feel free to use and modify the example HTML with other stylesheets.
You can find the source code for this chapter at https://github.com/PacktPublishing/Rust-Web-Development-with-Rocket/tree/main/Chapter08.