Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Christian Ziermann 77b3042c7f first commit il y a 4 ans
.vscode first commit il y a 4 ans
src first commit il y a 4 ans
.gitignore first commit il y a 4 ans
README.md first commit il y a 4 ans
codegen.yml first commit il y a 4 ans
graphql.schema.json first commit il y a 4 ans
nodemon.json first commit il y a 4 ans
package-lock.json first commit il y a 4 ans
package.json first commit il y a 4 ans
tsconfig.json first commit il y a 4 ans

README.md

Prepation

npm init

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

npm add --save graphql or yarn add graphql

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

npx graphql-codegen init

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

Server

npm add apollo-server

npm install @types/node --save-dev

npx tsc --init --rootDir src --outDir build \
--esModuleInterop --resolveJsonModule --lib es6 \
--module commonjs --allowJs true --noImplicitAny true

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

UI

  • init new Angular project ng new graphql-demo