전체 글(82)
-
No tests found for given includes (--tests filter)
Intellij 에서 gradle 빌드한 프로젝트에서 테스트 오류 발생시 위 경로에서 Run tests using 탭을 intellij 로 변경하면 된다.
2022.01.18 -
프로젝트 시작.
컴퓨터 고장. 각종 사정에 의해서 늦게라도 시작 하며 기록할 예정. 일단 기한에 맞춘 CRUD 게시판을 기본으로 개발 후, 나선형 개발 구조 예정. 개발 컨테이너 및 API. Java를 베이스로, Springboot, SpringJpa, React.js 사용하여 개발 예정. 학원에서 배운 방식은 Spring 과 Oracle, Mybatis 를 사용해야 하지만, 현재까지 만든 프로젝트에 대한 DB 쿼리 맵핑을 다시할 자신이 없어서(spring 초기 세팅 포함.) 위기를 기회 삼아 JPA에 관해 공부를 병행 할 예정. 천천히 나아가되, 확실히 할 예정.(1일1커밋 생활화) spring initialize 사용 프로젝트 생성. 일단 간단한 item Model만 생성 후 crud 작성. 일단 틀만 생성 후 내일..
2022.01.17 -
깃 리모트 변경하기
깃 리모트 변경 하기 기존 리포지토리 깔끔하게 pull / push git pull git add . git commit -m "clean push" git push기존 리포지토리 remote 제거 git remote remove origin새 리포지토리 remote 추가 git remote add origin https://github.com/계정/리포지토리끝
2022.01.17 -
not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git [원인] 현재 폴더에 git에 대한 정보를 담은 파일이 없기 때문에 발생하는 에러. [해결] $ git init 수행후 다시 $ git remote add 명령어 실행 출처: ngee.tistory.com/2185
2022.01.17 -
React-redux 사용해보기
npm install react-redux src 폴더에 store.js 생성 후 스토어 작업 //액션 export const increase = (username) => ({ type: 'INCREMENT', payload: username }); export const decrease = () => ({ type: 'DECREMENT' }); //상태 const initstate = { num: 0, username: '', }; //액션의 결과를 걸러내는 과정 const reducer = (state = initstate, action) => { switch (action.type) { case 'INCREMENT': return { num: state.num + 1, username: action..
2021.12.23 -
React 글쓰기, 글 목록 보기 실습
import React, {useState} from 'react'; import styled from "styled-components"; const StyledItemBoxDiv = styled.div` border: 1px solid black; padding: 10px; height: 100px; margin: 20px; display: flex; justify-content: space-between; align-items: center; `; const ListPages = () => { const [no,setNo] = useState(6); const [post, setPost] = useState({ id:no, title:'', content:'' }); const [posts,setP..
2021.12.22