/api-almundo

API RESTful - Almundo

Primary LanguageJavaScript

API RESTful Almundo

Scripts Disponibles

En el directorio del proyecto, puede ejecutar:

yarn install

Para instalar las dependencias que necesita la API para su funcionamiento.

Luego ejecutas:

yarn start

Para iniciar al API en modo de desarrollo.
Abre http://localhost:3001 en el navegador.

Enpoints disponibles

Listar Hoteles

  • Tipo Endpoind: GET
  • URL Endpoing: [domain:port]/api/hotels

Retorna todos los hoteles.

Buscar Hoteles por ID

  • Tipo Endpoind: GET
  • URL Endpoing: [domain:port]/api/hotels/277990

Retorna un solo hotel.

Crear Hoteles

  • Tipo Endpoind: POST
  • URL Endpoing: [domain:port]/api/hotels

Proximamente.

Actulizar Hoteles

  • Tipo Endpoind: PUT
  • URL Endpoing: [domain:port]/api/hotels/277990

Proximamente.

Eliminar Hoteles

  • Tipo Endpoind: DELETE
  • URL Endpoing: [domain:port]/api/hotels/277990

Proximamente.