module.exports = { name: 'myPlugin', version: '1.0.0', register: async (server, options) => { // Create a route for example server.route({ method: 'GET', path: '/test', handler: async function (request, h) { return { test: 'hello, world' } }, options: { description: 'Test', notes: 'This is a test route', tags: ['api'], auth: false } }) } }