Skip to content

Conversation

@lanceherman
Copy link
Collaborator

This PR sets up a centralized configuration system for the FastAPI app, making it easier to manage environment variables.

Changes

  • Introduced app/core/config.py to define app settings using pydantic.BaseSettings.
  • Configured core settings like APP_NAME, DEBUG, API_V1_PREFIX, and DATABASE_URL to load from environment variables.
  • Added a .env file at the project root for local development.
  • Integrated python-dotenv to ensure environment variables are loaded correctly.
  • Updated main.py to import and use the new configuration module for consistent settings across the application.

@felixjordandev
Copy link
Collaborator

Nice, the introduction of pydantic for settings will streamline our config management.

@felixjordandev felixjordandev merged commit 0fbb281 into main Oct 16, 2025
@felixjordandev felixjordandev deleted the feat/config-management branch October 16, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants