Writing an API server in Rust, using Rocket and Diesel, Part 1

7 minute read Published:

A modern tutorial on writing an API server in Rust

Join me as I bumble my way through setting up a Rust API server, using the latest versions of the Rocket web framework, the Diesel ORM, and a few less exicting things like Docker and Postgres. I decided to write this tutorial after noticing that a lot of the content for these frameworks was out of date, and there was a distinct lack of reading on how to get them all to play nicely with each other. Part 1 will go over setting everything up, and Dockerizing it for easy development and deploys.