src/status_action.js
import {app} from './application';
/**
* Sends the application status.
* @param {Context} ctx The context encapsulating the client request and the server response.
*/
export function statusAction(ctx) {
let {name, version} = app();
ctx.body = {name, version};
}