title: Laravel 5 website and API using the same app
body: <p>The application I am migrating into Laravel 5 is a website and its API.</p>
  
  <p>The API is used for the mobile apps and for the website to pull the data.</p>
  
  <p>The website will not be developed to be a Single Page App, because I already have all the views and I'm just migrating the website to Laravel 5.</p>
  
  <p>How can I do the following without duplicating my code?</p>
  
  <p>For instance, allow <code>/products</code> to list all my products using this API endpoint (<code>/api/2.0/products</code>).</p>
  
  <p>The same applies to all other routes</p>