You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christian Ziermann 97ae4bb29b adjust readme преди 4 години
.vscode first commit преди 4 години
src first commit преди 4 години
.gitignore first commit преди 4 години
README.md adjust readme преди 4 години
codegen.yml first commit преди 4 години
graphql.schema.json first commit преди 4 години
nodemon.json first commit преди 4 години
package-lock.json first commit преди 4 години
package.json first commit преди 4 години
tsconfig.json first commit преди 4 години

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