No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
Christian Ziermann 77b3042c7f first commit hace 4 años
.vscode first commit hace 4 años
src first commit hace 4 años
.gitignore first commit hace 4 años
README.md first commit hace 4 años
codegen.yml first commit hace 4 años
graphql.schema.json first commit hace 4 años
nodemon.json first commit hace 4 años
package-lock.json first commit hace 4 años
package.json first commit hace 4 años
tsconfig.json first commit hace 4 años

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