diff --git a/pom.xml b/pom.xml
index 49784e0..9807023 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,7 +123,12 @@
jackson-annotations
2.15.3
-
+
+ org.springframework.data
+ spring-data-commons
+ 3.2.2
+
+
diff --git a/src/main/java/cat/udl/eps/softarch/demo/repository/RoleRepository.java b/src/main/java/cat/udl/eps/softarch/demo/repository/RoleRepository.java
new file mode 100644
index 0000000..d1cf3c0
--- /dev/null
+++ b/src/main/java/cat/udl/eps/softarch/demo/repository/RoleRepository.java
@@ -0,0 +1,11 @@
+package cat.udl.eps.softarch.demo.repository;
+
+import cat.udl.eps.softarch.demo.domain.Pet;
+import cat.udl.eps.softarch.demo.domain.Role;
+import org.springframework.data.repository.CrudRepository;
+import org.springframework.data.repository.PagingAndSortingRepository;
+import org.springframework.data.rest.core.annotation.RepositoryRestResource;
+
+@RepositoryRestResource
+public interface RoleRepository extends CrudRepository, PagingAndSortingRepository {
+}