# Exercise: Farmers Market Vendors

Exercise: Farmers Market Vendors: Exercise: Farmers Market Vendors.

Updated: November 19, 2026

1. [Exercise: Farmers Market Vendors](https://www.ask-codey.com/lessons/exercise-fastapi-farmers-market-vendors) (Journeyman): Write the Saturday Farmers Market's data code in one file, with a vendors table and a products table linked by a foreign key, a join, grouped counts that include a vendor with no products, one page of vendors with the total, and a unique email that raises your own DuplicateEmail, and let pytest check each on a fresh database.

Source: https://www.ask-codey.com/courses/python-web-apis/topics/exercise-fastapi-farmers-market-vendors
