๐Ÿ’ฐ Software ยท LARZ-301 · Assignments

Assignments & final project

Harden and ship.

Practice

  1. Build a JSON endpoint and add a validation schema; confirm bad input returns 400.
  2. Issue a pro API key and gate the endpoint with @app.api_key_required(plan="pro").
  3. Add @app.metered("$0.01/call") and prove a key runs out with a clean 402.
  4. Sell a credit pack and top a key up from the /larz/credits page.
  5. Turn on /docs and version the API behind /api/v1 with a Blueprint.

Final project

Ship a real paid API: at least one metered endpoint with validation, API keys on a plan, credit packs, OpenAPI docs, and a checkout wired to a (test-mode) provider. Share the URL.

More in this course

Course home → · Browse all courses →