Nest.js

    [Project] 누구(Who)가 아닌 기술을 신뢰하는 Klaytn 기반 티켓팅 서비스

    [Project] 누구(Who)가 아닌 기술을 신뢰하는 Klaytn 기반 티켓팅 서비스

    1. 프로젝트 개요 TT 란 ? 누구(Who)가 아닌 기술을 신뢰하는 Klaytn 기반 티켓팅 서비스 Trust Ticket, TT는 블록체인 기술을 이용한 티켓팅 서비스를 제공합니다. TT 이용자는 이벤트를 기획할 수도 있고, 다른 이벤트를 참여할 수 있습니다. 이벤트 참여를 하면 각 이벤트에서 발행하는 토큰을 받을 수 있고, 이는 입장티켓 또는 응모당첨권으로 사용합니다. 배포 링크 Github: https://github.com/codestates/BEB-04-ZeroTeb Mobile : 다운링크 (스토어 배포 심사 중) Server - POST API Document WEB - https://tt.beeimp.com 2. 프로젝트 소개 토큰 이코노미 왜 필요한가요? 이벤트가 돌연 취소 상황 - 소..

    [TIL] Nest 중복 호출 오류, Node process.cwd()와 __dirname의 차이

    [TIL] Nest 중복 호출 오류, Node process.cwd()와 __dirname의 차이 날짜 2022.07.13. 목표 Nest.js 학습 내용 Nest.js - @**InjectConnection** 중복 호출 오류 오류 메세지 ERROR [ExceptionHandler] Nest can't resolve dependencies of the AuthService (JwtService, ?, UsernameConnection). Please make sure that the argument UserConnection at index [1] is available in the AuthModule context. Potential solutions: - If UserConnection is..

    [TIL] Nest.js 프로바이더와, React-Native 안드로이드 설정

    [TIL] Nest.js 프로바이더와, React-Native 안드로이드 설정 날짜 2022.01.01 목표 Nest.js 학습 내용 Nest.js - Provider Provider : 앱이 제공하는 핵심 기능인 비즈니스 로직 수행 Service, Repository, Factory, Helper 등 @injectable 데코레이터 사용 다른 어떤 Nest 컴포넌트에서도 주입 가능해짐 import { Injectable } from '@nestjs/common'; @Injectable() export class UsersService { ... remove(id: number) { return `This action removes a #${id} user`; } } 사용 @Controll..

    [TIL] Nest.js 컨트롤러 부분 학습

    [TIL] Nest.js 컨트롤러 부분 학습 날짜 2022.07.06. 목표 Nest.js 학습 내용 Nest.js - Controller MVC 패턴에서 Controller에 해당 Request로 받은 데이터를 처리하고 결과를 Response하는 인터페이스 역할 Nest.js - Routing 데코레이터 사용 @Get('/hello') getHello(): string { return this.appService.getHello(); } 와일드카드 사용 가능 @Get('he*lo') getHello(): string { return this.appService.getHello(); } Nest.js - Request/Response Object import { Request..

    [TIL] Nest.js Decoration

    [TIL] Nest.js Decoration 날짜 2022.07.04 목표 내용 Nest.js - 데코레이터 파이썬의 데코레이터나 자바의 어노테이션과 유사 클래스, 메서드, 접근자, 프로퍼티, 매개변수에 적용 가능 JS - +로 숫자형 변환 const str = '123'; console.log(typeof str); // string console.log(typeof Number(str)); // number console.log(typeof parseInt(str)); // number console.log(typeof +str); // number 결론 nest.js의 데코레이션을 보면서 자바 스프링이 생각났습니다. 이미 스프링 조금 공부해봤기에 비교적 쉽게 배울 수 있을 것 같습니다. JS에서 +..