Chapter 2 - Integration with Rocket

Full source code available on GitHub.

In Chapter 1, we've explored how to interact with a database in Rust.

In real applications, however, we'd probably want to expose those operations in a Web API for generic usage.

To achieve that, we leverage web frameworks like Rocket.

You'll soon discover how simple and painless it is to use SeaORM in a Rocket application!