Coder Social home page Coder Social logo

django-youtube-restapi's Introduction

django-youtube-restapi

(1) Proejct Settings

  • GitHub

Model 구조 => ORM

(1) User => users

  • email
  • password
  • nickname
  • is_business

(2) Video => videos

  • title
  • description
  • link
  • views_count
  • thumbnail
  • video_file: link
  • User: FK

ex) 파일(이미지, 동영상) => 장고에 부하가 걸림. => S3 Bucket(저렴, 속도가 빠름) -> 결과물: 링크

(3) Reaction => reactions

  • User: FK
  • Video: FK
  • reaction (like, dislike, cancel) => 실제 youtube rest api

(4) Comment => comments

  • User: FK
  • Video: FK
  • content
  • like
  • dislike

(5) Subscription => subscriptions

  • User: FK => subscriber (내가 구독한 사람)
  • User: FK => subscribed_to (나를 구독한 사람)

(6) Common => common

  • created_at
  • updated_at

모델을 먼저 정의한 이유는 Django -> DB migration(테이블 구조 정의) => REST API

django-youtube-restapi's People

Contributors

seopftware avatar

Watchers

Kostas Georgiou avatar  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.