본문 바로가기

스프링부트4

[Redis] 우분투 환경에서 Redis 설정하기 Redis 설치를 하지 않으신 분은 아래 링크로 들어가서 먼저 설정해주세요. 2024.01.30 - [Web Programming/DB] - [Redis] 윈도우 환경에서 redis 설치/실행하기 [Redis] 윈도우 환경에서 redis 설치/실행하기 윈도우 설치 Redis 공식문서입니다. https://redis.io/docs/install/install-redis/install-redis-on-windows/ Install Redis on Windows Use Redis on Windows for development redis.io 레디스 공식문서에는 위처럼 사용하면 된다라고 써 jaey0ng.tistory.com 설치가 완료되었다는 가정하에 설명 진행하겠습니다. 환경설정 파일 진입 sudo nan.. 2024. 1. 30.
[React + SpringSecurity + DB] 로그인 구현하기 (Backend) 저의 예시는 스프링 2.5.5 버전입니다. 버전에 따라 코드가 다를 수 있으므로 버전에 맞게 코딩해주시면 되겠습니다. 스프링 시큐리티부터 만들어볼까 합니다. build.gradle implementation 'org.springframework.boot:spring-boot-starter-security' 위 문구를 적고 재빌드를 해줍니다. SecurityConfig.java @RequiredArgsConstructor @Configuration @EnableWebSecurity @Component public class SecurityConfig extends WebSecurityConfigurerAdapter { @Bean public PasswordEncoder passwordEncoder() { .. 2024. 1. 18.
[Kendo Vue + SpringBoot + Oracle] 동적인 메뉴 아코디언 만들기(Creating a dynamic menu accordion) kendo Vue의 treelist를 이용하여 만드는 예제입니다. https://www.telerik.com/kendo-vue-ui/components/treelist/get-started/ Vue TreeList Component Getting Started - Kendo UI for Vue Docs & Demos vue 2.6.11 or 3.0.0Contains the functionality necessary to define Vue components.@progress/kendo-licensingContains the internal infrastructure related to licensing.@progress/kendo-svg-iconsContains the SVG icons for the .. 2024. 1. 3.
[SpringBoot] Controller, Service, Dao 등과 Mapper(Mybatis) 의 type 관계 (오류해결) / CRUD 중 R이 예시 먼저.. 제가 오류가 난 상황을 설명드리겠습니다 Controller, Service, Dao에 public String selGridList() { return gridService.selGridList(); } 이런식으로 String으로 선언을 해줬습니다 하지만 Mapper에는.... 제가 이런식으로 선언을 했더군요.... Mapper의 resultType과 Controller, Service, Dao의 String 부분의 타입이 같아야했는데 아무생각없이 개발하고 있었더라구요.. Controller.java @RequestMapping(value= "/grid", method = RequestMethod.GET) public Map selGridList() { return gridService.selG.. 2023. 11. 28.