# Exercise: Harden the Coffee Club API

Exercise: Harden the Coffee Club API: Exercise: Harden the Coffee Club API.

Updated: November 19, 2026

1. [Exercise: Harden the Coffee Club API](https://www.ask-codey.com/lessons/exercise-fastapi-harden-the-coffee-club-api) (Journeyman): Harden Bean There Coffee Club's working FastAPI app before it goes online, with CORS for the club's two web pages, security headers from a middleware, a slowapi rate limit on sign-in, an update model that can't set role, and the JWT secret read from the environment, and let the tests check every job.

Source: https://www.ask-codey.com/courses/python-web-apis/topics/exercise-fastapi-harden-the-coffee-club-api
