This repository contains a nodeJs RESTFUL service built using express.
This service contains 2 APIs written in swagger.yml file.
In addition, the repository contains a soa.js file which provides the configuration to integrate this service with SOAJS.
APIs :
API 1: /tidbit/hello method GET: This API returns a message containing your username and last name.
API 2: /tidbit/hello method POST: This API returns a json response. This json response represents the services configuration that was provided by the SOAJS controller to this service at runtime when requests are made to the API.
Objective
The Objective is to show that you can integrate, activate and deploy any nodeJs express service in SOAJS.
In addition, you can get all the features of SOAJS such as multi-tenancy, multi-security, URAC, custom tenant configuration, Swagger Simulation, ... etc by simply requiring the SOAJS mw and providing it to your express service.
To learn more on how to use it, visit this page: https://soajsorg.atlassian.net/wiki/spaces/EX/pages/62982572/TIDBIT