9 Working with forms for course maintenance

 

This chapter covers

  • Designing and implementing user authentication
  • Routing HTTP requests
  • Creating a resource with the HTTP POST method
  • Updating a resource with the HTTP PUT method
  • Deleting a resource with the HTTP DELETE method

In the previous chapter, we looked at registering tutors. When a user registers as a tutor, the information about the tutor is stored in two databases. The tutor’s profile details, such as their name, image, and area of specialization, are maintained in a database within the backend tutor web service. The registration details for the user, such as the user ID and password, are stored locally, in a database within the web application.

In this chapter, we will build on top of the code from the previous chapter. We’ll write a Rust frontend web app that allows users to sign in to the application, interact with the local database, and communicate with a backend web service.

9.1 Designing user authentication

9.2 Setting up the project structure

9.3 Implementing user authentication

9.4 Routing HTTP requests

9.5 Creating a resource with the HTTP POST method

9.6 Updating a resource with the HTTP PUT method

9.7 Deleting a resource with the HTTP DELETE method

Summary