Chapter 5: Designing a User-Generated Application

We are going to write a Rocket application in order to learn more about the Rocket web framework. In this chapter, we are going to design the application and create an application skeleton. Then, we are going to split the application skeleton into smaller manageable modules.

After reading this chapter, you will be able to design and create an application skeleton and modularize your own application to your liking.

In this chapter, we're going to cover the following main topics:

  • Designing a user-generated web application
  • Planning the user struct
  • Creating application routes
  • Modularizing a Rocket application

Technical requirements

For this chapter, we have the same technical requirements as the ...

Get Rust Web Development with Rocket now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.