The following project indicates two methods to create a REST API, the first method is performed with the Use of Java EE / Web Services and the second method is performed with NodeJS.
Article on Medium: https://link.medium.com/CtrCIvVD4Y
El siguiente proyecto indica dos métodos para crear un API REST, el primer método se realiza con el Uso de Java EE/Web Servicies y el segundo método se realiza con NodeJS
Articulo Explicatorio Medium : https://medium.com/@freddy.abadl/api-rest-b%C3%A1sico-ae8936b9a5ab