Using koa-route with koa-compose to declare rest api.