express-gateway-plugin-custom-request
v2.0.2
Published
Plugin Example for Express Gateway
Downloads
10
Readme
express-gateway-plugin-custom-request
This is plugin for Express Gateway The main purpose for transform address suite for all Vietnam and make new tiny utils for print pdf file. This plugin useful for integrating 3rd delivery branch with local delivery branch
Getting Started in 5 minutes:
$ yarn add express-gateway-plugin-custom-request
Configure this plugin:
- Declare
plugins.express-gateway-plugin-custom-request
insystem.config.yml
- [Config-Gateway] Add config
fileServer
to serve static file,remoteContent
for fetch network data before make pdf >>action params
- [Client] Request create shipping code should included ADDRESS_TYPE =
VNP
=> tranform address to demand delivery branch.
Detailed documentation:
Express Gateway plugin explanation: Plugin Documentation
CLI for installing and configuring plugin: Plugins CLI
Guidlines how to write your custom plugin: Plugin Development Guide
Express Gateway Boot Sequence explains order in which plugin entities are loaded and executed.