import Koa from 'koa'; import db from './db/index.js'; const app = new Koa(); app.use(async (ctx) => { ctx.body = 'hh'; }); app.listen(4000, () => { console.log('Server is running at port:', 4000); });