feat: add manual numeric inputs for fuzzy modeling and update env config

- Implement synchronized numeric inputs alongside sliders in Step 2.
- Enable real-time graph updates via input arrows and manual typing.
- Add strict clamping and validation for fuzzy parameter constraints.
- Refactor environment variables to use .env.local pattern.
- Add .env.example files for frontend and backend documentation.
This commit is contained in:
Alexis
2026-04-27 13:16:42 +02:00
parent 72b2c6b4a0
commit 1ebc5b6634
7 changed files with 225 additions and 44 deletions
+21
View File
@@ -0,0 +1,21 @@
# Backend environment variables (FastAPI)
# ----------------------------------------
# Copia este archivo como `.env` para desarrollo local y rellena los valores.
#
# docker-compose levanta el backend con `env_file: backend/.env`.
# Google OAuth (https://console.cloud.google.com/apis/credentials)
# IMPORTANTE: la REDIRECT_URI es la URL a la que Google devuelve al usuario,
# por tanto debe coincidir con la URL pública del backend tal como la ve el
# navegador. Usando docker-compose, el backend está expuesto en el host en
# el puerto 8070, así que:
# http://localhost:8070/api/auth/google/callback
# Si ejecutas el backend fuera de Docker en el puerto 8000, usa:
# http://localhost:8000/api/auth/google/callback
# Esta URI debe estar registrada también en la consola de Google Cloud.
GOOGLE_CLIENT_ID=tu-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=tu-client-secret
GOOGLE_REDIRECT_URI=http://localhost:8070/api/auth/google/callback
# Clave para firmar los JWT (usa algo largo y aleatorio en producción)
SECRET_KEY=cambia-esta-clave-en-produccion