Skip to content
0/9

FastAPI Intermediate: Structure, Dependencies and Data

Routers and Project Structure

In this lesson you will

  • Organise an API into routers and modules
  • Use a lifespan function for start-up tasks
  • Keep models, database code and routes separate