Skip to content

Create an API with Loopback which invokes a z/OS Connect API

License

Notifications You must be signed in to change notification settings

mmallick-ca/loopback-zosconnect-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loopback-zosconnect-demo

Overview

This example demonstrates basic use of loopback-connector-rest.

The project has a server which fetches a the names, location and ratings for a list of hotels in a city specified by the user. The server has no persistent store and simply calls a REST API which has been deployed on a z/OS machine using z/OS Connect.

Running the app

$ git clone https://github.com/mmallick-ca/loopback-zosconnect-demo.git
$ cd loopback-zosconnect-demo
$ npm install
$ node .

In another shell:

$ curl http://localhost:3000/api/HotelInfos/getHotel?location=Toronto

You should see a list of Toronto hotels with their names, location and ratings

About

Create an API with Loopback which invokes a z/OS Connect API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published