전체 글(21)
-
복습3
npm install -g @nestjs/clinest new . TypeORM + MySQLnpm install @nestjs/typeorm typeorm mysql2 MongoDBnpm install @nestjs/mongoose mongoose Prisma + PostgreSQLnpm install prisma @prisma/client 초기화npx prisma init DTO validationnpm install class-validator class-transformer 환경변수(.env)npm install @nestjs/config
2026.05.25 -
복습2
Java / OOP / JS메서드는 객체에 속한 함수입니다.클래스는 객체를 생성하기 위한 설계도이며, 속성과 메서드를 정의할 수 있습니다. 개념한 줄 정의오버로딩같은 이름의 메서드를 매개변수 다르게 여러 개 만드는 것오버라이딩부모 메서드를 자식 클래스에서 재정의하는 것static객체 생성 없이 클래스 자체에 붙는 변수/메서드제네릭타입을 나중에 정하게 해서 재사용성과 타입 안정성을 높이는 문법클로저함수가 외부 변수 환경을 기억하는 것호이스팅선언이 코드 실행 전 위로 끌어올려진 것처럼 동작하는 현상TDZlet/const가 선언 전 접근 불가능한 구간Callback작업 끝나면 실행할 함수를 넘기는 방식Promise비동기 작업의 성공/실패 결과를 객체로 다루는 방식async/awaitPromise를 동기 코드처..
2026.05.21 -
복습
.inclues.toUpperCase().toLowerCase()(s[i] '0' || s[i] > '9') => 문자들은 숫자코드를 가짐. 예외 특수문자 또한 숫자코드를 가짐 => 따라서 문자 걸러내기 가능.charAt 배열[1,2,3] 메모리에 순서대로 저장인덱스로 빠르게 접근 가능arr[0] 장점조회 빠름 O(1)단점중간 삽입/삭제 느림리스트노드가 줄줄이 연결된 구조.[1] -> [2] -> [3] 장점삽입/삭제 빠름단점검색 느림배열처럼arr[100] 이런 즉시 접근 못함. 트리계층 구조.예:폴더 구조조직도 A / \ B C 대표:Binary TreeBST그래프노드끼리 연결된 구조.예:지도SNS 친구 관계A -- B| |C -- D 탐색:DFSBFS정렬데이터 순서..
2026.05.21 -
NPM code E401
Unable to authenticate, your authentication token seems to be invalid. To correct this please trying logging in again with: npm login what should I do? Azure DevOps->Artifacts->Connect to feed->npm->follow Other Done!
2022.10.27 -
nestjs, typeorm, graphql- 1
common error Nest can't resolve dependencies of the (?). Please make sure that the argument at index [] is available in the context. Potential solutions: - If is a provider, is it part of the current ? - If is exported from a separate @Module, is that module imported within ? @Module({ imports: [ /* the Module containing */ ] }) common error2 TYPEORM If you run into the following error when tryi..
2022.08.18 -
TIL 07082022 - GO 2
strconv - package that implements conversions to and from string representations of basic data types. (most common - Atoi (string to int) and Itoa (int to string)) * Macbook M1에서는 GRPC를 위한 Protobuf 설치에 문제가 있음. 따라서 소스를 내려 받은 후에 로컬에서 컴파일 하는 과정을 거치는 것이 안전한 방법. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" export PATH=/opt/homebrew/bin:$PATH git clon..
2022.07.14