Coder Social home page Coder Social logo

arbor0428 / react_youtube Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 606 KB

youtube API를 활용한 프로젝트

Home Page: https://master--flourishing-lebkuchen-fcb261.netlify.app/

HTML 8.94% CSS 5.54% JavaScript 85.52%
react-query react-router reactjs tailwindcss timeago-js youtube-api

react_youtube's Introduction

유튜브 어플리케이션 프로젝트 👩‍💻

youtube API를 활용해서 유튜브 어플리케이션을 구현 합니다.

유튜브 어플리케이션에서 구현된 기능들

  • 검색 헤더 : react-router-dom의 useNavigate, useParams를 활용해서 사용자가 검색할 수 있는 form을 구현합니다.
  • 비디오 카드 : useQuery와 axios, context를 활용해서 mock 데이터인 json을 사용하는 것과 실제 네트워크 통신을 통한 api 데이터를 사용하는 것을 스위칭 해줄 수 있고 구분할 수 있습니다. .env파일을 만든 후 네트워크 관련된 secret key들을 관리합니다.
  • 상세 페이지 : navigate를 활용해서 video 객체를 전달받고 해당 id로 이동해서 해당 video의 데이터들을 보여줍니다. 또한 해당 video로 id를 받아서 이 id와 연관된 비디오들을 보여줍니다.

완성작 보기

미리보기 : https://master--flourishing-lebkuchen-fcb261.netlify.app/

사용스택

프로젝트 실행

  • react를 설치합니다. npm install -g create-react-app
  • react-router-dom를 설치합니다. npm install react-router-dom
  • react-query를 설치합니다. npm install react-query
  • react-icons를 설치합니다. npm install react-icon ==save
  • axios를 설치합니다 npm install axios
  • timeago.js를 설치합니다. npm install timeago.js
  • tailwindcss를 설치합니다. npm install -D tailwindcss
  • .env파일을 만들고 .gitignore파일에 git commit 되지 않도록 .env 추가해줍니다.

react_youtube's People

Contributors

arbor0428 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.