~/talk

Write HTTP APIs

Talkat RustLab 2020 · 2020-10-16..10-17· [web-platform, rust]
slides:none on file

Builds a working hello world HTTP API using actix-web with route handlers wired to a shared printer behind Arc and RwLock, unit and integration tests that exercise query parsing and default values, response structs derived with serde Serialize, and automatic OpenAPI output using a swagger/OpenApi3 crate. Shows a multi-stage Docker build with fake main and cached dependency layer to speed rebuilds and demonstrates the request JSON responses and served docs endpoint.

AI-written summary · about

  1. 0:00Introduction
  2. 3:37Overview
  3. 5:10Project Setup
  4. 8:44Test
  5. 13:25Printer
  6. 18:35Testing
  7. 23:35Break
  8. 29:23Description
  9. 31:10Coding
  10. 37:15Documentation
  11. 40:43Dockerfile
  12. 48:35Live QA
  13. 49:47Thank you
  14. 51:06Rasta
  15. 53:04Rocket
  16. 57:07Outro
~/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.