API Pedidos - Estructura + Modelos

This commit is contained in:
Daniel Arroyo
2026-04-11 03:45:33 +00:00
commit 4d97545599
10 changed files with 100 additions and 0 deletions

11
app/core/config.py Normal file
View File

@@ -0,0 +1,11 @@
from pydantic_settings import BaseSettings
from functools import lru_cache
@lru_cache()
def get_settings():
return BaseSettings(
app_name="API Pedidos",
database_url="postgresql://user:password@localhost:5432/pedidos",
debug=True
)