Skip to content

Console Game Reservation Service for 42Seoul

Notifications You must be signed in to change notification settings

Rillmo/lv42-Backend

 
 

Repository files navigation

Commit Rules

커밋 메세지 구조

타입(스코프): 주제(제목)
=====================================================
|타입 이름  |내용                                       
-----------------------------------------------------
|feat     |새로운 기능에 대한 커밋                         
|fix      |버그 수정에 대한 커밋
|build    |빌드 관련 파일 수정 / 모듈 설치 또는 삭제에 대한 커밋
|chore    |그 외 자잘한 수정에 대한 커밋
|docs     |문서 수정에 대한 커밋
|style    |코드 스타일 혹은 포맷 등에 관한 커밋
|refactor |코드 리팩토링에 대한 커밋
|test     |테스트 코드 수정에 대한 커밋
|perf     |성능 개선에 대한 커밋
=====================================================

Directory Partitioning

  • /bin/www

    : http 모듈에 express 모듈 연결, 포트 지정, 서버 실행
  • /public

    : 각종 리소스(브라우저, 클라이언트에서 접근 가능한 파일들) -> /images, /javascripts, /stylesheets
  • /controller

    : index.js 를 루트로 사용. user, book 등 디렉토리를 생성해 컨셉별로 관리. 라우팅 관련 로직만 작성.
  • /service

    : 핵심 비즈니스 로직만 작성.
  • /repository

    : DB 접근 로직(Query문 등)만 작성. 함수화해서 사용.
  • /views

    : html 등 렌더링 파일
  • app.js

    : 서버 전체 루트. 미들웨어 관리.

Git Branch Rules

  • master branch, develop branch

master와 develop 브랜치는 본래 이름 그대로 사용.

  • feature branch

master, develop, release-..., hotfix-... 제외 전부 가능.

feature/기능요약
ex) feature/login
  • release branch

release-...
ex) release-1.0
  • hotfix branch

hotfix-...
ex) hotfix-1.2.1

About

Console Game Reservation Service for 42Seoul

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Other 0.3%