-
graphQL 설치 및 깃허브 푸쉬GraphQL 2019. 12. 9. 21:17
npx 리액트 설치후, 그 파일의 폴더로 이동후,(cd 폴더명)
깃허브에서 레포지터리 생성후 (README.md 생성 안했음) cmd에 다음과 같이 입력
git init
git remote add origin [깃허브주소]
git pull origin
git add .
git commit -m "Initiail commit"
git push origin master
code . 이후 add 할것들
yarn add react-router-dom
yarn add react-router-dom apollo-boost @apollo/react-hooks graphql
yarn add react-apollo@2.5 (예전버전으로 사용)Apollo Boost : GraphQL을 위한 클라이언트
'GraphQL' 카테고리의 다른 글
스키마 활용 예시(Mutation) (0) 2019.12.07 GraphQL 특징,서버만들기,스키마.. (0) 2019.12.05