ReactJS/Making the Movie app

Making Movie App

Learning-Developer 2019. 9. 30. 09:22
  • 사람들은 데이더를 fetch할 때 fetch를 사용하지만 여기선 axios를 사용할 것,
  • axios는 fetch위에 있는 하나의 레이어.
  • npm install axios 
  • YTS에서 만든 API를 사용
  • jsonview라는 크롬 extension이용하면 웹브라우저에서 json 파일을 깔끔하게 볼 수 있다. 
  • 시크릿 탭에서 https://yts-proxy.now.sh/list_movies.json로 접속하면 영화 리스트 많음