Creating a Secure API Gateway with HAPI.JS

I Wayan Widi Pradnyana, S.Kom, MTI

Sosial Media


1 orang menyukai ini
Suka

Summary

Hapi.JS is one of the libraries that can be used to build microservices with Node.JS technology. Complete information about Hapi.JS can be accessed via https://hapi.dev/ . Some features of HAPI.js can be accessed at https://hapi.dev/plugins/ , there are several plugins that can be used for service security. You can also check https://hapi.dev/module/ describes module available for development process.

The system architecture will be implemented with 3 servers, namely ServiceGateway, Service01, and Service02. In Service01 there are APIs for User services (GET, and POST). On Service02 there is an API with services for Walk. In the ServiceGateway there are several services that are representatives or representations of the services of Service01 and Service02.

 

Description

 

 

Creating a Secure API Gateway with HAPI.JS

 

Scenario

The system architecture will be implemented with 3 servers, namely ServiceGateway, Service01, and Service02. In Service01 there are APIs for User services (GET, and POST). On Service02 there is an API with services for Walk. In the ServiceGateway there are several services that are representatives or representations of the services of Service01 and Service02.

Concept

Hapi.JS is one of the libraries that can be used to build microservices with Node.JS technology. Complete information about Hapi.JS can be accessed via https://hapi.dev/ . Some features of HAPI.js can be accessed at https://hapi.dev/plugins/ , there are several plugins that can be used for service security. You can also check https://hapi.dev/module/ describes module available for development process.

 

Implementation

 

Creating Service 1

Creating Service 2

Creating Proxy Service

 

 

Evaluation

Testing Service 01

 

Testing Service 02

 

Testing Proxy Service

Check Again Service

Conclusion

Based on this scenario, it can be seen that HAPI.js can easily form a REST-API including a Gateway that will protect the services it serves.

Informasi Course Terkait
  Kategori: Cyber Security
  Course: Persiapan Sertifikasi Internasional CyberSAFE (Cyber Security Awareness For Everyone)