Git Product home page Git Product logo

ec-server's Introduction

Running the app

# local server with docker
$ npm run start:local
# only run local server without docker
$ npm run start:local:server

clear local docker container

$ npm run local:docker:down

Stack

  • Nest
  • TypeORM
  • GraphQL
  • Redis
  • PostgreSQL
  • Sentry
  • Docker
  • Jest [TDD]

Folder Naming Rules

  • @**: Required/Global Modules
  • _lib
    • filter, interceptor, guard ...
    • service로 뺄 수 없는 전역적으로 사용하는 함수들이 위치하는 곳
  • util
    • Resolver가 존재하지 않음
    • Service만 존재
    • 전역적으로 자주 사용하는 Service

Env

  • local: 각자 컴퓨터에서 띄운 개발환경 [ 기능추가, 버그수정 등등 수정한 코드 테스트용도 ]
  • dev: 개발환경 [ 개발자 테스트용도 ]
  • staging: 스테이징환경 [ Q/A (or) 베타테스트 용도 ]
  • prod: 실서비스

환경별 설정

  • 로깅: prod-custom format, staging/dev/local-'dev'
  • 센트리, exceptionFilter: prod/staging-on, dev/local-off
  • DB logging: prod-error,info,warn, staging/dev-error,warn local-all

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.