title: how can I map my set of url and middleware using loopback
body: <p>I'm migrating from express to loopback
  In express for mapping a set of url I was doing following work.</p>
  
  <pre><code>var app = express();
  app.use(bodyParser.json());
  app.use(bodyParser.urlencoded({ extended: false }));
  
  app.get("/",function(req,res){....});
  app.post('/dataitsno', function(req,res){...});
  </code></pre>
  
  <blockquote>
    <p>I just wonder, how can I map my set of url and add this middleware
    using loopback</p>
  </blockquote>