docparse-router

router for the docparse project

npm install docparse-router
60 downloads in the last month

DocParse Router

Handle internal routing of http requests inside the DocParse system.

Port

The router listens on a standard port assigned in the config application.routerPort field.

Usage

There are a number of different types of external requests that can come in. The router figures out what kind of request it is. Then it queries the seaport server for a valid host and port. It then proxies the request on to the appropriate server.

Configuration

Note that a config.json file path must be supplied as a --config argument when running the spinUpRouter.js file

node spinUpRouter.js --config /home/node/apps/docparse/server/production/config.json
npm loves you