본문 바로가기

GraphQL/FrontEnd

Setup

github repository 만들기

  • create-react-app movieql-client
  • git init
  • git remote add origin url
  • git pull origin
  • git add.
  • git commit -m "init comit"
  • git push origin master
  • code . 
  • Read me 수정
  • App.js, index.js 뺴고 다 지움
  • App.js index.js 내용 정리
  • npm i react-router-dom
  • npm install apollo-boost @apollo/react-hooks graphql
  • apollo boost 는 graphQL 클라이언트를 가지기 위해 모든걸 대신 셋업해준다. 
  • Apollo Dev Tools 라는 구글 툴 설치