SMOKECourse

Examples Smoke Test

Lessons1modules
Total12mfull study
Quick7mtrailer
Projects2docker labs

Echo API

Tiny FastAPI service that echoes a JSON payload back.

snap/examples-smoke-echo:latest
Stack
pythonfastapi
Real-world use

Smoke test for the examples pipeline.

Portfolio value

Demonstrates the simplest possible HTTP service shape.

Builds on lessons
Lesson 1
Build plan
  1. Scaffold FastAPI + pytest
  2. Implement /health and /echo
  3. Verify with pytest + docker compose smoke
What you'll observe
GET /health returns {"status":"ok"}
POST /echo returns the supplied body unchanged
Lift this to your work

Drop the FastAPI scaffold into your team's services repo as a starter for new HTTP endpoints.