소스 검색

adjust readme

dev
Christian Ziermann 4 년 전
부모
커밋
97ae4bb29b
1개의 변경된 파일37개의 추가작업 그리고 12개의 파일을 삭제
  1. +37
    -12
      README.md

+ 37
- 12
README.md 파일 보기

@@ -1,31 +1,51 @@
# Prepation

``npm init``
```
npm init
```

See More <https://graphql-code-generator.com/docs/getting-started/installation>

``npm add --save graphql``
```
npm add --save graphql
```
or
``yarn add graphql``
```
yarn add graphql
```


``npm add --save-dev @graphql-codegen/cli``
```
npm add --save-dev @graphql-codegen/cli
```
or
``yarn add -D @graphql-codegen/cli``
```
yarn add -D @graphql-codegen/cli
```


``npx graphql-codegen init``
```
npx graphql-codegen init
```


``npm add --save-dev @graphql-codegen/typescript``
```
npm add --save-dev @graphql-codegen/typescript
```
or
``yarn add -D @graphql-codegen/typescript``
```
yarn add -D @graphql-codegen/typescript
```

# Server

``npm add apollo-server``
```
npm add apollo-server
```

``npm install @types/node --save-dev``
```
npm install @types/node --save-dev
```

```
npx tsc --init --rootDir src --outDir build \
@@ -33,9 +53,14 @@ npx tsc --init --rootDir src --outDir build \
--module commonjs --allowJs true --noImplicitAny true
```

``npm install --save-dev ts-node nodemon rimraf``
```
npm install --save-dev ts-node nodemon rimraf
```


# UI

* init new Angular project ``ng new graphql-demo``
* init new Angular project
```
ng new graphql-demo
```

Loading…
취소
저장