# Settings

Settings: Settings Checked at Startup.

Updated: November 19, 2026

1. [Settings Checked at Startup](https://www.ask-codey.com/lessons/fastapi-pro-settings) (Journeyman): An API reads every setting it needs from environment variables, or from a .env file on your own computer, through one pydantic-settings BaseSettings class that gives each setting a type and a default, so a missing or mistyped setting stops the app as it starts, with a message naming every problem, instead of crashing a later request.

Source: https://www.ask-codey.com/courses/python-web-apis/topics/fastapi-settings
