Write HTTP APIs
summary
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
chapters (16)
- 0:00Introduction
- 3:37Overview
- 5:10Project Setup
- 8:44Test
- 13:25Printer
- 18:35Testing
- 23:35Break
- 29:23Description
- 31:10Coding
- 37:15Documentation
- 40:43Dockerfile
- 48:35Live QA
- 49:47Thank you
- 51:06Rasta
- 53:04Rocket
- 57:07Outro
related talks
52mBuilding APIs
42mBuilding a Web Application with Rust
35mEvolving your APIs, a step-by-step approach
03h 02mGoodbye, "Hello, World." Hello, Functional FastAPI Web App!
01h 30mReference Architecture for Running Modern APIs w/ NGINX Unit & Web Server
32mCode to contract to code: making ironclad APIs
01h 13mRust-Powered Fullstack GraphQL: From Actix-Web & Juniper Server to WASM Yew Client
14mAPI in a box
