1.0.15 • Published 11 years ago

service-router v1.0.15

Weekly downloads
3
License
-
Repository
github
Last release
11 years ago

DocParse Router

A seaport & bouncy powered router to bounce requests to the appropriate service provider

Services

Currently there a two services: api and web. Any url that looks like http://localhost:3000/api/ will be bounced to the api server. All other requests will be handled be the web server.

Configuration

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

node spinUpRouter.js --config local_config.json

The local_config.json file should specify at a minimum the port seaport will listen on, as well as the external application port that the clients will connect to.

{
  seaport: {
    "host": "localhost",
    "port": 9000,
  },
  application: {
    "host": "localhost",
    "port": 3000
  }
}
1.0.15

11 years ago

1.0.14

11 years ago

1.0.13

11 years ago

1.0.12

11 years ago

1.0.11

11 years ago

1.0.10

11 years ago

1.0.9

11 years ago

1.0.8

11 years ago

1.0.6

11 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago