6 начнем

This commit is contained in:
Павел Сорокин 2023-05-05 11:25:41 +04:00
parent 2a9507f646
commit a79f51ffb3
3 changed files with 8 additions and 6 deletions

View File

@ -18,18 +18,23 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-devtools'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
implementation 'org.webjars:bootstrap:5.1.3'
implementation 'org.webjars:jquery:3.6.0'
implementation 'org.webjars:font-awesome:6.1.0'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'com.h2database:h2:2.1.210'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
implementation 'org.hibernate.validator:hibernate-validator'
implementation 'org.springdoc:springdoc-openapi-ui:1.6.5'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//implementation group: 'org.springdoc', name: 'springdoc-openapi-ui', version: '1.6.5'
}

View File

@ -1,2 +1 @@
rootProject.name = 'sbapp'
include 'FrontEnd'
rootProject.name = 'sbapp'

View File

@ -1,6 +1,5 @@
package ru.ulstu.is.sbapp.Post.controller;
import jakarta.servlet.ServletRegistration;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.validation.Valid;
import org.springframework.stereotype.Controller;
@ -17,7 +16,6 @@ import ru.ulstu.is.sbapp.User.service.UserService;
import java.io.IOException;
import java.util.Base64;
import java.util.Optional;
@Controller
@RequestMapping("/post")