Skip to content

Tukzon/Tarea2-SD-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tarea 2 Sistemas Distribuidos

Sistema con Apache Kafka para distribuir la carga de los distintos servidores en funcionamiento con sus respectivas tareas.

Herramientas Utilizadas

Deployment

To deploy this project run

  docker-compose build --no-cache
  docker-compose up --force-recreate

API Reference

Ingresar Nuevo Miembro

  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
}

Ingresar Nueva Venta

POST localhost:8000/newVenta
{
    "patente": "abcd12",
    "cliente": "John Doe",
    "cantidad": 999,
    "ubicacion": "-33.452607772695686, -70.66136977581571"
}

Ingresar Carrito Profugo

POST localhost:8000/carritoProfugo
{
    "patente": "abcd12",
    "ubicacion":"-33.452607772695686, -70.66136977581571"
}

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published