Giter Site home page Giter Site logo

book-nestjs-backend's People

Contributors

dextto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

book-nestjs-backend's Issues

오탈자를 이곳에 제보하면 되나요? (+ 오탈자의심 1개)

위치: 1 Page, 1.1 NestJS의 장점 첫번째 문단 마지막 문장

원본 : 그럼에도 NestJS가 기본으로 Fastify를 사용하지 않는 이유는 Express가 가장 널리 사용되고 있고 수많은 미들웨어가 NestJS와 호환되기 때문입니다.
수정제안 : 그럼에도 NestJS가 기본으로 Fastify를 사용하지 않는 이유는 Express가 가장 널리 사용되고 있고 수많은 미들웨어가 Express와 호환되기 때문입니다.

제안이유: 내용전개상 NestJSExpress가 되어야 하지 않나 의심되어 제보합니다.

오탈자 제보

53p
Cusom => Custom
228p
예외 필터에 예외 필터 대신 인터셉터가 들어감

오류수정 페이지 내용 추가 요청

page. 141의 checkUserExists 부분에서 user !== undefined로 유저가 존재하는지를 검사하는데, 해당 부분에서 오류가 발생합니다.
user !== null 로 구문 수정 시 정상동작 하고, 깃헙의 예제 코드에서도 수정되어 있는것을 확인할 수 있습니다.

    private async checkUserExists(emailAddress: string){
        const user = await this.userRepository.findOne({
            where: { email: emailAddress }
        });
        return user !== null;
    }

오탈자 제보

86P

수정 전
팩터리 프로바이더(FactoryProvider) 역시 프로바이더 인스턴스를 동적을 구성하고자 할 때 사용합니다. 클래스 프로바이더는 useFactory 속성을 사용합니다. 앞서와는 다르게 타입이 함수로 정의되어 있습니다.

수정 후
팩터리 프로바이더(FactoryProvider) 역시 프로바이더 인스턴스를 동적을 구성하고자 할 때 사용합니다. 클래스 팩터리 프로바이더는 useFactory 속성을 사용합니다. 앞서와는 다르게 타입이 함수로 정의되어 있습니다.

오탈자 제보

10 페이지 내용입니다.

수정 필요 부분

유저 서비스는 다음과 같은 기능을 제공해야 합니다.
...
로그인 기능은 사실 사용자 에이전트(브라우저, 모바일 앱 등)에 엑세스 토큰를 발급하는 일입니다.

수정 내용

유저 서비스는 다음과 같은 기능을 제공해야 합니다.
...
로그인 기능은 사실 사용자 에이전트(브라우저, 모바일 앱 등)에 엑세스 토큰을 발급하는 일입니다.

"NestJS로 배우는 백엔드 프로그래밍" 번역 문서 수정 요청 (wikidocs.net)

1. 수정 요청 페이지 링크 : https://wikidocs.net/148204

2. 수정 요청 내용 관련 스크린샷

image

3. 수정 요청 상세내용

$ nest g co ApiController

위와 같은 명령어로 컨트롤러를 생성하게 되면 아래와 같이 저자의 의도와 다르게 생성됩니다.
image

image


따라서

$ nest g co Api

위와 같은 명령어로 컨트롤러를 생성해야 아래와 같이 저자의 원래 의도대로(문서 의도대로) 생성됩니다.
image
image

8장 ormconfig.ts 관련 질문

선생님 안녕하세요! 집필하신 책으로 즐겁고 열심히 공부하고 있는 독자입니다.
좋은 교재 만들어주셔서 감사합니다.

8장 학습하던 중 오류라고 생각되는 부분이 있어 질문드립니다.
p.146 ormconfig.ts 부분에서

migrations: [__dirname + '/**/migrations/*.js']
*.js파일만 명시해서
*.ts로 생성되는 마이그레이션 파일을 인식못하는 오류가 있었습니다.

혹시 아래와 같이 변경해도 괜찮을지 질문드립니다.
migrations: [__dirname + '/**/migrations/*.{js, ts}']

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.