Koa 2.x Boilerplate API application structure. Inspired by api-boilerplate.
git clone https://github.com/Jason-Bai/koa-graphql
Usage: api [options]
Options:
-h, --help output usage information
-H, --host <host> specify the host [0.0.0.0]
-p, --port <port> specify the port [4000]
-b, --backlog <size> specify the backlog size [511]
Resources and associated tests are defined in ./api
Run make test
Use a proxy for /v1
, /v2
etc and launch new api(1)
programs, don't version
in the same application, it's brittle, bloaty and pointless.
MIT