gradle
-
7. Spring Boot + Spring Security + JWT + access token + refresh token + 토큰 갱신Project/React+Java 2022. 8. 2. 15:50
https://github.com/dchkang83/project-board GitHub - dchkang83/project-board Contribute to dchkang83/project-board development by creating an account on GitHub. github.com refresh token 설정을 하다 보니 부족한 부분들이 보여서 수정된 부분이 많다. 사실... 기분내키는 대로 많이 수정해서.. 기억나는 부분만 내용 정리하였는데 암튼.. 포인트만 정리 하였다! 최대한 dto, dao, vo의 성격에 맞게 사용하려고 노력하였으며 보안을 위하여 토큰들은 모두 header에 담아서 클리아언트와의 통신을 할 수 있도록 구성해 보았다. 어플리케이션이 실행될때 마다 편하게 작..
-
6. Spring Boot + Spring Security + JWT + access tokenProject/React+Java 2022. 7. 22. 14:29
https://github.com/dchkang83/project-board GitHub - dchkang83/project-board Contribute to dchkang83/project-board development by creating an account on GitHub. github.com jwt 및 security를 최신 버전으로 설정하다 보니 deprecated 된 class 및 function 들이 많아서 설정하는데 애를 먹었다.!! 자세한 소스들은 깃을 참조하기 바란다. 1. boot starter security - 의존성 추가 implementation 'org.springframework.boot:spring-boot-starter-security' testImplementat..
-
5. SpringBoot + Rancher + VsCode Mysql ClientProject/React+Java 2022. 7. 22. 11:51
https://github.com/dchkang83/project-board GitHub - dchkang83/project-board Contribute to dchkang83/project-board development by creating an account on GitHub. github.com 1. Rancher - Mysql Run $ nerdctl run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD= mysql:latest $ nerdctl run -d -p 3306:3306 --restart=always -e MYSQL_ROOT_PASSWORD= mysql:latest $ nerdctl ps -a 2. VS Code - Mysql Client 설치 3. root ..
-
4. SpringBoot + JPA + H2 databaseProject/React+Java 2022. 7. 21. 18:54
https://github.com/dchkang83/project-board GitHub - dchkang83/project-board Contribute to dchkang83/project-board development by creating an account on GitHub. github.com 1. H2 - 의존성 추가 testImplementation group: 'com.h2database', name: 'h2', version: '2.1.214' 2. H2 - apllication.yml spring: datasource: driver-class-name: org.h2.Driver url: jdbc:h2:mem:test username: sa password: 3. JPA - 의존성 추가..
-
3. SpringBoot + Logback 설정Project/React+Java 2022. 7. 21. 17:26
https://github.com/dchkang83/project-board GitHub - dchkang83/project-board Contribute to dchkang83/project-board development by creating an account on GitHub. github.com 1. logback 의존성 추가 https://mvnrepository.com/search?q=logback testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.11' 2. application.yml 설정 # 파일 삭제 # /project-board/back-end/gundam/src/main/resourc..
-
2. SpringBoot + Controller TestCase 설정 확인Project/React+Java 2022. 7. 21. 16:17
https://github.com/dchkang83/project-board GitHub - dchkang83/project-board Contribute to dchkang83/project-board development by creating an account on GitHub. github.com 1. lombok 의존성 추가 # /project-board/back-end/gundam/build.gradle compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' lombok dependency 설정 후 library reload 2. SampleTests.java 작성 package com.main...
-
1. VsCode + SpringBoot + GradleProject/React+Java 2022. 7. 21. 15:48
https://github.com/dchkang83/project-board GitHub - dchkang83/project-board Contribute to dchkang83/project-board development by creating an account on GitHub. github.com 0. 목표 이미 조각별로 해본거 빠르게 합체하자. - BackEnd VsCode + SpringBoot + Spring Security + JWT + JPA + OAuth2 Client (google, facebook, naver, kakao) + rest api + swagger 테스트 케이스는 미리미리 만들어야 한다! - FrontEnd yarn, react, react-redux, react-sag..