Crear un entorno virtual y activar-lo.
python3 -m venv venv && source venv/bin/activate
Instalar las dependencias
pip3 install -r service/requirements.txt
Para iniciar-la os situais en el directorio /service
y usamos uvicorn
.
uvicorn app.main:app
--reload
: Reinicia la API cada vez que encuentra un canvio en los ficheros.