Sistema con Apache Kafka para distribuir la carga de los distintos servidores en funcionamiento con sus respectivas tareas.
To deploy this project run
docker-compose build --no-cache
docker-compose up --force-recreate
POST localhost:8000/newMember
{
"nombre": "John",
"apellido": "Doe",
"rut": "99.999.999-9",
"correo": "john.doe@mail.udp.cl",
"patente": "abcd12",
"premium": 1,
"stock": 999
}
POST localhost:8000/newVenta
{
"patente": "abcd12",
"cliente": "John Doe",
"cantidad": 999,
"ubicacion": "-33.452607772695686, -70.66136977581571"
}
POST localhost:8000/carritoProfugo
{
"patente": "abcd12",
"ubicacion":"-33.452607772695686, -70.66136977581571"
}