title: Difference for spring-boot-starter-web and spring-boot-starter-data-rest for REST APIs
body: <p>I'm trying to figure out the best practise in Spring to develop a REST API.</p>
  
  <p>I found those two packages and as far as I understand the difference between them is:</p>
  
  <ul>
  <li>web supports other things on top of REST API</li>
  <li>web manages resource access via controllers</li>
  <li>data-rest manages resource access via the repository</li>
  </ul>
  
  <p>Is there anything that I'm missing? Most examples are on top of web so I wonder what decisions points would lead me to favor one over the other in my app.</p>