File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11##What You Will Learn during this Step:
22-  Introduction to Spring Data Rest
33 -  Hit http://localhost:8080/users  in POSTMAN
4+  -  http://localhost:8080/users/1 
5+  -  http://localhost:8080/users/?size=4 
6+  -  http://localhost:8080/users/?sort=name,desc 
7+  -  @Param  ("role")
8+  -  http://localhost:8080/users/search/findByRole?role=Admin 
49-  Good for quick prototype! Be cautious about using this in Big applications!
510
611## Useful Snippets and References  
712First Snippet
813``` 
914        <dependency> 
1015            <groupId>org.springframework.boot</groupId> 
11-             <artifactId>spring-boot-starter-data-jpa </artifactId> 
16+             <artifactId>spring-boot-starter-data-rest </artifactId> 
1217        </dependency> 
1318
1419``` 
Original file line number Diff line number Diff line change 11##What You Will Learn during this Step:
22-  Lets do some cleanup
3-  -  Move SomeBean to a different class and call it WelcomeController 
3+  -  Lets Refactor the SurveyControllerIT.java 
44
55## Exercises  
66-  Test and make sure everything is working fine
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments