Maven, Spring Boot, Postman... what the...!
1) Explain with your own words what is a maven lifecycle. Try them one by one and notice what is happening.
2) Postman!
In the previous session we created a collection with folders in postman! Make sure you have all endpoints functioning and well mapped!
3) Try to understand the difference between a Query Parameter and a Path Variable!
4) We mapped the Product and Company classes in our domain. Write scripts in SQL that would make appropriate tables!
5) Remember when we talked that our Main method would spawn a thread? Figure out what happens in terms of Threads when we receive an HTTP request.
6) What problems does Spring Boot solve?
7) What does @RestController annotation do? What about @Repository and @Service?
8) How about @SpringBootApplication?
9) Our Product needs photos... Find the best way to upload photos to our spring boot app!
Write an API method that receives an uploaded photo. What HTTP verb do you think it's more appropriate?