Skip to content

HerronTech/soajs.nodejs.hapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

soajs.nodejs.hapi

This repository contains a nodeJs RESTFUL service built using hapi.

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 hapi 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 hapi service.

To learn more on how to use it, visit this page: https://soajsorg.atlassian.net/wiki/spaces/EX/pages/62982572/TIDBIT