Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Frontend Migration]: Backend application splitup #721

Open
bbilly1 opened this issue May 19, 2024 · 1 comment
Open

[Frontend Migration]: Backend application splitup #721

bbilly1 opened this issue May 19, 2024 · 1 comment
Labels
backend react migration Tracking our new React based frontend

Comments

@bbilly1
Copy link
Member

bbilly1 commented May 19, 2024

Domain

Backend

Description

Split the backend into more manageable and smaller django apps. App names become root path for API endpoints.

  • config: as is, main django app with root settings.py
  • common: All common functionality shared between apps
    • probably doesn't have any API endpoints...
  • channel: all channel functionality
    • /api/channel/: channel list
    • /api/channel/<id>/: channel detail
    • /api/channel/<id>/playlist/: channel playlists
    • /api/channel/<id>/shorts/: channel shorts
    • /api/channel/<id>/streams/: channel live streams
    • /api/channel/<id>/about/: channel metadata and config
  • playlist: manage all playlists
    • /api/playlist/: playlist list
    • /api/playlist/<id>/: playlist detail
  • downloads: all download functionality
  • settings: all application and scheduler configurations
@MerlinScheurer
Copy link
Contributor

The shorts and streams endpoints could be a searchparam/query ?type=short on the /api/channel/<id>/video/ endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend react migration Tracking our new React based frontend
Projects
Status: No status
Development

No branches or pull requests

2 participants