Initial commit: frontend + backend integration

This commit is contained in:
Ignacio
2025-12-29 18:12:32 +01:00
commit 2cd6d6b95c
146 changed files with 31503 additions and 0 deletions

25
backend/docs/notas git.md Normal file
View File

@@ -0,0 +1,25 @@
git status # ver qué ha cambiado
git add . # añadir cambios
git commit -m "Describe lo que has hecho"
git push # subir al remoto
# Ejecutar tests
source .venv/bin/activate
python -m pytest -v
# Instalar el paquete
python pip install -e .
# Ejecutar el API
uvicorn beyond_api.main:app --reload
# Ejemplo Curl API
curl -X POST "http://127.0.0.1:8000/analysis" \
-u admin:admin \
-F "analysis=basic" \
-F "csv_file=@data/example/synthetic_interactions.csv" \
-F "economy_json={\"labor_cost_per_hour\":30,\"automation_volume_share\":0.7,\"customer_segments\":{\"VIP\":\"high\",\"Basico\":\"medium\"}}"
# Lo siguiente:
# Disponer de varios json y pasarlos en la peticiòn
# Meter etiquetas en la respuesta por skill