1
0

created Vert.X folder

This commit is contained in:
Jose
2025-03-02 22:51:31 +01:00
parent 70f317a3bb
commit 5d60d96567
13 changed files with 11 additions and 0 deletions

14
backend/fastapi/run.py Normal file
View File

@@ -0,0 +1,14 @@
import subprocess
def run_api():
try:
subprocess.run(
['uvicorn', 'main:app', '--reload', '--port', '9091'],
check=True,
cwd='./'
)
except subprocess.CalledProcessError as e:
print(f"Error al iniciar API DAD: {e.stderr}")
if __name__ == "__main__":
run_api()