Giter Site home page Giter Site logo

sms-auth-flow-nestjs-example's Introduction

-

👋 Hi, Argon1025(Neo)
Back-end Developer, NodeJS
Blog · Email








sms-auth-flow-nestjs-example's People

Contributors

argon1025 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

sms-auth-flow-nestjs-example's Issues

계정 인증요청 엔드포인트

POST : /auth/sms

  • 휴대폰 번호를 넣고 인증번호를 요청한다
  • 유저가 존재하지 않으면 휴대폰 번호만 저장한 임시 유저를 생성한다
  • 랜덤 인증번호를 발급하고 레디스에 만료시간을 설정해 적재한다
    image

문서 업데이트 할것들

  • 시작하기에 앞서

    • 브랜치 관리 방법
    • 코드 컨벤션
      • ESLint, Typescript Rule
      • import 순서
      • 이뮤터블
      • 고차함수 지향
  • 프로젝트 시작방법

    • 노드 버전에 대한 설명
    • 패키지 관리자
  • DTO, Validation, Serial

  • Swagger

  • 익셉션 처리, 에러 처리

  • 각 엔드포인트 메서드 플로우 차트

  • 오타체크

프로젝트 정리

  • Swagger 필요없는 구문 삭제
  • 설명 구문 추가
  • 프로젝트 코드 베이스 정리
  • 문서화

테스트, 오류수정

  • ONLY_TEXT 정규식에 한글 자소 분리된 텍스트도 사용가능하도록 되어 있다
  • 유저 가입시 유니크 조건을 만족하지 못했을때 오류 메시지가 정의되지 않았다
  • CRD 구문은 에러 캐치를 하기로 통일
  • 사전 정의되지 않은 모든 에러는 모니터링 대상

회원가입

PUT : /auth

  • 가드, 데코레이터로 토큰 처리
    image

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.