본문 바로가기

개발10

Springboot JPA kotlin 4. 라이브러리 체크 OWASP 활용 https://github.com/rcaninhu/springboot3-demo GitHub - rcaninhu/springboot3-demo Contribute to rcaninhu/springboot3-demo development by creating an account on GitHub. github.com 지난번에는 문서 도구인 swagger 를 이번엔 사용하는 라이브러리 괜찮을까? 시간으로 OWASP를 dependencyCheck를 해보려고 합니다. OWASP 란? : OWASP(The Open Web Application Security Project)는 오픈소스 웹 애플리케이션 보안 프로젝트 라고 한다 일단 사용하는 디펜던시부터 알아보자 # build.gradle.kts 파일 plugins.. 2023. 2. 25.
Springboot JPA kotlin 3. swagger / 스웨거 https://github.com/rcaninhu/springboot3-demo GitHub - rcaninhu/springboot3-demo Contribute to rcaninhu/springboot3-demo development by creating an account on GitHub. github.com 오늘은 스웨거라는것을 붙여 보는 시간~ 스웨거라는 문서와 도구가 있다 라이브러리 추가. // openapi - swagger implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2") ## application.yaml springdoc: swagger-ui: enabled: true ## 활성화 유무 path: /swa.. 2023. 2. 23.
Springboot JPA kotlin 2. 글 수정, 글 삭제, 글 상세 https://github.com/rcaninhu/springboot3-demo GitHub - rcaninhu/springboot3-demo Contribute to rcaninhu/springboot3-demo development by creating an account on GitHub. github.com 지난 게시글에서 수정, 목표 1. 글 상세 목표 2. 글 수정 목표 3. 글 삭제 1. 글 상세. 스프링에 있는 PathVariable를 이용하여 간단하게 상세를. 게시글 아이디를 주면 가져오기. @GetMapping("/{boardId}") fun detailBoard( @PathVariable("boardId") board: Board? ): ResponseEntity = board?.le.. 2023. 2. 11.
Springboot JPA kotlin 1. 글 등록 과 목록 조회 https://github.com/rcaninhu/springboot3-demo GitHub - rcaninhu/springboot3-demo Contribute to rcaninhu/springboot3-demo development by creating an account on GitHub. github.com 샘플샘플 스프링부트3 데모~ springboot3 + kotlin + JPA 개발환경(?) 주변에 필요한건 도커로 구성 지금은 mysql8.0 하나 필요에 의해서 나중에 추가추가 하고 간단하게 springboot kotlin 데모 샘플 코드~ 목적이 없으면 심심하니까 게시판(?) 정도 만드는걸 목표로? 목표 1. 글 등록 목표2. 글 목록 1. 글등록 제목, 내용, 작성일 @Entity cla.. 2023. 2. 11.