Code Monkey home page Code Monkey logo

toylog's Issues

React 초기설정

React 초기 설정 및 사용할 package 설정
#React 설치
npx create-react-app toylog

#dom 설치
npm install react-router-dom

#글로벌 옵션으로 pm2 install
npm install pm2 -g

#main.js를 pm2로 실행
pm2 start main.js

#pm2 모니터 실행
pm2 monit

#리스트 확인
pm2 list

#정지
pm2 stop main

#리로드만 해도 내용이 고쳐지는 신기한 마술
pm2 start main.js --watch

#실시간으로 변경되는 것을 확인 가능
pm2 log

[BackEnd] Error 구조 설계

BusinessException

  • 어플리케이션 최상단의 에러 객체로서 BusinessLogic 간에 일어날 수 있음 에러임을 명시한다.
  • Field 로 ErrorCode 를 가진다.

ErrorCode

  • ErrorCode 는 어플리케이션 로직상에서 일어날 수 있는 에러를 통합 관리하기 위해 Error Reason 및 HttpStatus Code 를 관리한다.

설계시 준수 사항

  • 최대한 Exception Layer 를 계층별로 잘 설계한다.

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.