import { App } from '@kevisual/router'; const app = new App({}); app .route({ path: 'test', key: 'test', }) .define(async (ctx) => { ctx.body = 'test'; }) .addTo(app); app.listen(4000, () => { console.log('Server is running at http://localhost:4000'); });