text: const Koa=require('koa')
  const Router=require('koa-router')
  const app=new Koa()
  const router=new Router({
      prefix:'/lrain'
  });
  
  router.get('/',(ctx,next)=>{
      ctx.body="Hello L.Rain"
  }).get('/todo',(ctx,next)=>{
      ctx.body="Todo page"
  })
  
  app.use(router.routes()).use(router.allowedMethods())
  app.listen(3000,()=>{
      console.log('starting at port 3000')
  })
  