Routes, handlers, and middleware

Register web and API routes, bind a user from the URL, and keep sessions and guests in the right middleware.

Beta series3 lessons · About 30 min of reading

Your tasks

  1. 01Map URLs in web.rs and api.rs 11 min
  2. 02Move a page into a handler and bind a user 10 min
  3. 03Put session routes and guest walls in middleware 9 min
Course challenge