Consuming a service

In this recipe, we are going to create a web application layer that will consume our microservice. This is the API and client tier in our reference architecture depicted in the figure in the introduction to the chapter.

We will be using the Express web framework to do this and also the Express Generator to create an application skeleton.

Express
For an introduction to Express see the Creating an Express Web App recipe in Chapter 7, Working with Web Frameworks.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset