본문 바로가기

GraphQL BackEnd/Lecture

GraphQL + Prisma 환경설정

 

#환경 1. only grapqhl-yoga server

yarn add graphql-yoga node-fetch babel-cli babel-preset-env babel-preset-stage-3 nodemon

{ "presets":["env","stage-3"] }

"scripts":{ "start":"nodemon --exec babel-node index.js"}

 

#환경 2.1 apollo client 환경

npx create-react-app movieql-client

yarn add react-router-dom graphql graphql-tag react-apollo@2.5 apollo-boost 

#환경 2.2 apollo client 환경 - apollo hooks

npx create-react-app movieql-client

yarn add react-router-dom graphql graphql-tag react-apollo@2.5 apollo-boost react-apollo-hooks

 

#환경 3. grapqhl-yoga server + prisma

```

yarn add graphql-yoga graphql-tools merge-graphql-schemas@1.7.3

yarn add @babel/core @babel/node @babel/preset-env nodemon -D

yarn add dotenv morgan

yarn add prisma-client-lib

yarn add nodemailer nodemailer-sendgrid-transport

yarn add passport passport-jwt jsonwebtoken

```

 

 

 

DOS IMPACT - WEB Developer

KIM DO YOUNG

WEB : REACT JS | REACT NATIVE | GraphQL PRISMA