title: How to perform nested routes in nestjs?
body: <p>I have a controller (articles).</p>
  
  <p>It performs routes: <code>/articles</code>, <code>/articles/:id</code>  and this is it.</p>
  
  <p>I need also the following routes - <code>/articles/creator/:creatorId</code>, <code>/articles/:id/like</code>, <code>/articles/:id/unlike</code>, <code>/articles/:id/comment</code> and so on.</p>
  
  <p>Whether I need static path or action it is nested and its not working.</p>
  
  <p>Partial solution for me - Controller (articles), Controller (articles/creator), Controller (articles/like), Controller (articles/unlike).</p>
  
  <p>But this is a dumb solution and the concept of paths and actions is lost.</p>
  
  <p>Is there an elegant solution to fix this? And how to achieve this in best way?</p>
  
  <p>The code: </p>
  
  <pre><code>@Controller('articles')
  class ArticlesController{
  
  @Get(':articleId')
  getById(@Param('articleId') articleId){}
  
  @Post(':articleId/like)
  like(@Param('articleId') articleId){}
  
  @Get('creator/:creatorId')
  getByCreator(@Param('creatorId') creatorId:string){}
  
  }
  </code></pre>