diff --git a/backend/src/resources/application.yml b/backend/src/resources/application.yml index 32275c8..1dd7b49 100644 --- a/backend/src/resources/application.yml +++ b/backend/src/resources/application.yml @@ -10,6 +10,9 @@ spring: data: rest: base-path: /api/v1 + security: + user: + password: user logging: level: diff --git a/build.gradle b/build.gradle index 26ce9e8..7626219 100644 --- a/build.gradle +++ b/build.gradle @@ -19,6 +19,7 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-data-jpa' + implementation 'org.springframework.boot:spring-boot-starter-security' // https://mvnrepository.com/artifact/org.springframework.data/spring-data-rest-core implementation group: 'org.springframework.data', name: 'spring-data-rest-core', version: '3.7.0'