module.exports = Self => { Self.remoteMethod('status', { description: 'Gets the backend status', returns: { type: 'Object', root: true }, http: { path: `/status`, verb: 'GET' } }); Self.status = async() => { await Self.rawSql(`SELECT TRUE`); return true; }; };