일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- JavaScript
- redux-saga
- json-server
- 자바
- useDispatch
- 이코테
- react-redux
- 매일메일
- redux
- 프로그래머스
- 코딩테스트합격자되기
- 테코테코
- Get
- SW
- 리액트
- 항해플러스
- 항해99
- C++
- redux-toolkit
- react-router
- axios
- java
- createSlice
- Python
- maeil-mail
- 알고리즘
- sw expert academy
- Algorithm
- react
- programmers
- Today
- Total
목록분류 전체보기 (302)
Binary Journey
나는 이 글을 참고하였다. offbyone.tistory.com/199 Windows 10에 MariaDB 설치하기 개발용으로 Windows 10 PC에 MariaDB 를 설치해 봅니다. 1. http://mariadb.org/ 에 접속하여 다운로드 페이지로 들어갑니다. 2. 실제 다운로드 URL은 https://downloads.mariadb.org/ 입니다. 현재 안정 버전은.. offbyone.tistory.com 내가 사용하는 운영체제(OS)는 Windows 10 이며 MariaDB 서버 연결은 DBeaver Communtiy Edition을 이용할 예정이다. 먼저 MariaDB 홈페이지에 들어가서 mariadb.org/ MariaDB Foundation - MariaDB.org […] maria..
같은 내용인데 방법이 달라 벌써 4번째 글을 쓴다. Gradle 로도 할까말까 고민 중 VSCode 에서 ctrl + shift + P 를 누르면 검색칸이 뜨는데 거기에다 Spring이라고 타이핑하면 다음과 같이 뜬다. 나는 Maven이 더 익숙하니까 Create Maven Project로 해보겠다. 내 개발 환경 및 버전은 다음과 같다. 1. 플랫폼, OS: Windows 10 64bit 2. JDK: OpenJDK - AdoptOpenJDK 14 3. maven: apache-maven-3.6.3 Maven Project를 선택하면 Spring Boot version을 선택하라고 뜬다. 뭐가 좋을지 검색해본다. 여기저기 돌아다니다보니 Spring Boot 2.2.4 RELEASE 기준으로 Java 8..
orElseGet 에 이어 orElseThrow 를 소개한다. 내가 쓰임에 맞게 사용한지는 모르겠지만 일단 설명은 해보겠다. (컨펌 전임) 나의 이전 코드는 이렇다. // ServiceImpl @Transactional @Override public Entity updateEntity(Entity updateEntity) { Optional optEntity = entityRepository.findById(updateEntity.getEntityId()); if(optEntity.isEmpty()) { return null; } updateEntity.setBlahBlah(something); return entityRepository.save(updateEntity); } 이렇게 되면 그냥 NullP..
Java로 백엔드를 개발하는 중에 Optional을 쓴다면 아래와 같이 많이들 썼을 것이다. // ServiceImpl @Override public Entity findOneEntity(Long entityId) { Optional optEntity = entityRepository.findById(entityId); Entity entity = new Entity(); if(optEntity.isPresent()) { entity = optEntity.get(); } return entity; } 오늘 이걸 두 문장으로 끝내버리는 Optional 함수 orElseGet 을 알아냈다. orElseGet은 찾아온 값이 null 이 아닐 경우에만 값을 get 해준다. 위와 아래 코드에서 의도된 return..
목차로 돌아가기: binaryjourney.tistory.com/pages/ReactCRUD-create-board-tutorial [React][CRUD] create-board-tutorial * 인용 시 출처 같이 기재부탁드립니다. code: github.com/jwlee-lnd/react-create-board jwlee-lnd/react-create-board Description(korean) : https://binaryjourney.tistory.com/pages/ReactCRUD-create-board-.. binaryjourney.tistory.com 렌더링 최적화를 위해 useState로 사용했던 const [TitleValue, setTitleValue] = useState("") ..
목차 돌아가기: binaryjourney.tistory.com/pages/ReactCRUD-create-board-tutorial [React][CRUD] create-board-tutorial * 인용 시 출처 같이 기재부탁드립니다. code: github.com/jwlee-lnd/react-create-board jwlee-lnd/react-create-board Description(korean) : https://binaryjourney.tistory.com/pages/ReactCRUD-create-board-.. binaryjourney.tistory.com Hi Everybody 안녕 Hola! 오랜만의 포스팅이다. 지난주부터 개발 들어가고 2주를 바삐 보냈다. react는 공부할수록 새롭다...
오늘 만난 이슈인데 나같이 몇 달 안된 개발자는 백엔드에 관한 지식이 별로 없어서 겪었지만 다른 사람들은 자주 못볼 이슈일 수도 있다. 엔티티에는 데이터가 insert 될 때 시간을 자동으로 찍어주는 @CreatedDate 어노테이션이 붙은 Date type 필드가 있었다. 테이블에 insert 도중 계속 해당 필드 값이 'cannot be null' 이어야 한다며 에러 메시지가 나타났다. datetime 'COLUMN_NAME' cannot be null 알고 보니 @EntityListeners(AuditingEntityListener.class) 내 엔티티에만 위 어노테이션이 빠져서 계속 오류가 났던 것이다. 내가 참고한 사이트는 아래와 같다. stackoverflow.com/questions/509..
이전글: 2020/11/04 - [React] - [React][CRUD] 간단한 게시판 페이지 만들기 - 17.(1) 게시판 목록에 댓글 개수 띄우기, redux-saga, axios [React][CRUD] 간단한 게시판 페이지 만들기 - 17.(1) 게시판 목록에 댓글 개수 띄우기, redux-saga, axios 목차 돌아가기: binaryjourney.tistory.com/pages/ReactCRUD-create-board-tutorial [React][CRUD] create-board-tutorial code: github.com/jwlee-lnd/react-create-board jwlee-lnd/react-create-board Descrip.. binaryjourney.tistory.co..
이전글: 2020/11/04 - [React] - [React][CRUD] 간단한 게시판 페이지 만들어보기 - 16. 댓글 삭제하기, useDispatch, axios, redux-saga, redux-toolkit [React][CRUD] 리액트로 간단한 게시판 페이지 만들어보기 - 16. 댓글 삭제하기, useDispatch, axios, redux-sa [React][CRUD] 간단한 게시판 페이지 만들어보기 - 15. json-server에서 foreign key처럼 게시글 ID로 댓글 리 목차 돌아가기: binaryjourney.tistory.com/pages/ReactCRUD-create-board-tutorial [React][CRUD].. binaryjourney.tistory.com 목차..
[React][CRUD] 간단한 게시판 페이지 만들어보기 - 15. json-server에서 foreign key처럼 게시글 ID로 댓글 리 목차 돌아가기: binaryjourney.tistory.com/pages/ReactCRUD-create-board-tutorial [React][CRUD] create-board-tutorial code: github.com/jwlee-lnd/react-create-board jwlee-lnd/react-create-board Descrip.. binaryjourney.tistory.com 목차 돌아가기: binaryjourney.tistory.com/pages/ReactCRUD-create-board-tutorial [React][CRUD] create-board..