Giter VIP home page Giter VIP logo

test_nest's Introduction

前提条件

  1. Node.js (v16+)をインストールする
  2. yarnをインストールする

はじめに

  1. git clone https://github.com/infini-talk
  2. cd infini-talk
  3. 下記ポートフォワーディングする
  • DEV

    ルート ディレクトリに.env.localファイルを作成する

    # 依存関係をインストールする
    $ yarn install
    
    # コマンド実行
    $ yarn start:dev
  • PRO

    ルート ディレクトリに.env.production.localファイルを作成する

    # ソースコードをビルドする
    $ yarn build

配備

Git フロー

  1. developから開発ブランチを切ります
  • 通常タスク: git branch feature/<タスク ID>/ブランチ名
  • バグ修正タスク: git branch bugfix/<バグ ID>/ブランチ名
  1. ESLintでコードを修正
  2. 実装できたらcommit/push
  3. PR作成(developに向けて下さい)
  4. レビュアーにレビュー依頼(テストケース作成を依頼したときはテストケースのレビューも粂に投げて下さい)

コミットのメッセージ

[タスク ID]: <メッセージ>

fix:バグ修正
add:新しい機能の追加
update:機能の更新
change:仕様変更
clean:整理(リファクタリングなど)

PR

[タスク ID] <プルリクエストのタイトル>

ディレクトリ構造

概要

src
├── authentication 
├── common
│   ├── constants
│   ├── decorators
│   ├── guards
│   ├── interfaces
│   ├── middlewares
│   ├── models
│   └── validators
├── configs 
├── models 
├── utils 
├── app.controller.ts 
├── app.module.ts
├── app.service.ts
├── main.ts
├── package.json
└── README.md 

詳細

  • authentication - セッションログインハンドラー
  • common
    • constants - 定数の定義
    • decorators - カスタムデコレータ
    • guards - ガード
    • interfaces - Typescriptのインターフェース定義
    • middlewares - ミドルウェア
    • models - カスタムクラス
    • validators - カスタムバリデーター
  • configs - 環境にロードされる変数タイプ
  • models - すべての関連データモデル
  • utils - ヘルパー関数
  • package.json - プロジェクトの依存関係が含まれています

ライセンス

このプロジェクトはジェイエムエス・ユナイテッド株式会社に登録されています。

test_nest's People

Contributors

nguyentrong-du avatar relipa-banv avatar

Watchers

 avatar

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.