The next step is to create the Media Catalogue Microservice Node.js and related libraries:
- Create a new folder with name media_catalogue_service and within the folder run:
npm init
This will prompt the user to provide the following information:
-
- Name: Leave the default media_catalogue_service and press Enter.
- Version: Leave the default 1.0.0 and press Enter.
- Description: Type The Media Catalogue Service is created for the MRA example use case that supports chapter 4 Building and running the Microservice of the book Implementing Oracle API Platform Cloud Service.
- Entry point: Type server.js, which includes the main logic that is called to run the Node.js microservice.