Organizing Routes

Organizing Routes: Organizing Routes with APIRouter.

Updated

  1. Organizing Routes with APIRouter (Journeyman): APIRouter moves each resource's routes into its own file in a routers package, with a prefix that starts every path and a tag that groups them on the docs page, and app.include_router wires each one in, so main.py only puts the app together.