findById para buscarlo. 2:37@JsonFormat al campo de fecha de lanzamiento para controlar cómo aparece la fecha en la respuesta JSON. 6:14ResponseEntity para devolver tanto los datos como un código HTTP, y se comprueba si el producto existe antes de responder. 8:19findById devuelve un Optional, porque puede que no haya un producto con ese ID; el controlador puede comprobar el resultado y responder en consecuencia. 4:11null puede simplificar el ejemplo, pero el manejo de productos inexistentes debe elegirse según el caso. 12:280:00 so now it's time to go one step forward so basically in the last video we have seen how do you get all the products on the screen right but now what if you want to know about each product what I'm talking about is let's go back to the front end so I have changed the front end for this video so you will see that in the description and let me open that new code in vs code yeah okay so this is the front end two as you can go with the names so the first one was one this is two so this is a UI nothing much changes
0:31 only one particular change so if I click on SRC you can see there's a folder called components inside this component there's folder called a product so basically uh let's go back to first of all the home we don't have navigations here right navigations is is here so I can basically get into get on the products and I can call this product which is here now what is happening in the products is so basically your client will send a request to the server for one product not all of course you will get all first
🔒 The full, searchable transcript is available with Pro.