~/talk

Goodbye, "Hello, World." Hello, Functional FastAPI Web App!

Talkat PyCon US 2022 · 2022-04-27..05-03· [web-platform, python]
slides:none on file

Builds a usable FastAPI app from a sketch to a working service: explicit config via an .env and pedantic settings factory, async DB connection with beanie over motor to FastAPI (local or Atlas MongoDB), clear app structure (core/config, db, models, crud, routes), simple CRUD for favorite songs that actually saves and queries documents, automatic OpenAPI docs, and a run tested with uvicorn so the example demonstrably works.

AI-written summary · about

  1. 0:00Introduction to FastAPI
  2. 1:01Overcoming complexity
  3. 7:25Framework foundations
  4. 21:03Project structure
  5. 39:54Configuration management
  6. 1:23:08Database models and Beanie
  7. 2:09:25Creating API routes
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.