Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yasu-s/nestjs-inject-token-sample
NestJS Inject token sample
https://github.com/yasu-s/nestjs-inject-token-sample
dependency-injection nestjs
Last synced: about 1 month ago
JSON representation
NestJS Inject token sample
- Host: GitHub
- URL: https://github.com/yasu-s/nestjs-inject-token-sample
- Owner: yasu-s
- License: mit
- Created: 2019-12-21T02:15:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-23T11:59:15.000Z (about 5 years ago)
- Last Synced: 2024-10-29T22:08:27.854Z (3 months ago)
- Topics: dependency-injection, nestjs
- Language: TypeScript
- Size: 116 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nestjs-inject-token-sample
## 概要
* NestJSでproviderを文字列定義した場合のサンプルです。
## 実行環境
* Node.js - 10.x
* Yarn - 1.17.x## 使用ライブラリ
* @nestjs/core - 6.7.x
## 動作確認
### 1. サンプルのダウンロード
```bash
git clone [email protected]:yasu-s/nestjs-inject-token-sample.git
```### 2. パッケージインストール
```bash
cd nestjs-inject-token-sample
yarn
```### 3. サンプルの起動
```bash
yarn start
```