Integrate the GET REST APIs to JPA Repository
Explore how to integrate GET REST APIs with Spring Data JPA repositories to retrieve Todo and TodoType entities from the database. Understand using repository methods like findById and findByCode, and practise fetching data via REST calls.
Use repository in the findById method of TodoService
Now that POST REST API is integrated with the database, we can use the TodoRepository in the findById ...