An open API service indexing awesome lists of open source software.

https://github.com/yasu-s/nestjs-graphql-sample

NestJS Graphql
https://github.com/yasu-s/nestjs-graphql-sample

graphql nestjs typesript

Last synced: 10 months ago
JSON representation

NestJS Graphql

Awesome Lists containing this project

README

          

# 概要

- NestJS + GraphQL のサンプルです。

# 使用ライブラリ

- @nestjs/common - 7.4.x
- @nestjs/core - 7.4.x
- @nestjs/graphql - 7.6.x
- @nestjs/platform-express - 7.4.x
- apollo-server-express"- 2.16.x
- graphql - 15.3.x
- graphql-tools - 6.0.x

# 動作確認

## 1. サンプルのダウンロード

```bash
git clone git@github.com:yasu-s/nestjs-graphql-sample.git
```

## 2. パッケージインストール

```bash
cd nestjs-graphql-sample
yarn install
```

## 3. サンプルの起動

```bash
yarn start
```

# 実行結果

http://localhost:3000/graphql

![graphql](https://user-images.githubusercontent.com/2668146/89478369-c2d00600-d7ca-11ea-83ae-50c4d8c2dce0.png)

# 参考URL

- https://docs.nestjs.com/graphql/quick-start