sugar-cat7 / vspo-portal

WIP すぽじゅーる
https://vspo-schedule-sugar-cat7-s-team.vercel.app
MIT License
10 stars 3 forks source link

📎API Refactoring #154

Open sugar-cat7 opened 5 months ago

sugar-cat7 commented 5 months ago

Description

The current plan is to migrate all API and Cron handlers from the private repository to this repository, making the APIs more manageable and user-friendly.

now:

API
- CRUD operations for Channel information
- CRUD operations for Broadcasts, YoutubeClips, and TwitchClips
- CRUD operations for Event information

Cron
- Regular addition and updates of Channels, Broadcasts,  YoutubeClips, and TwitchClips
- Operation of Discord Bot

The new API will introduce the concept of Creator above the channel, making it easier to manage channels of each platform tied to a creator. Also, Integrate Broadcasts, YoutubeClips, and TwitchClips Model to Video Model.

Tasks

April: Cron (private repo -> common/cron Replace with Go)

Conveniently referred to as "distribution", but here it is unified as Video regardless of whether it is distribution or not, it is treated as Video whether it is distribution or clipping.

May: Discord Bot (Replace with Go + New feature development)

June: API (private Repo -> Implement in each service's directory e.g.) Define in API Route of schedule/web If there is something to be segregated into common parts, segregate it)

sugar-cat7 commented 4 months ago

~~I plan to get it to a stage where it can be verified by the end of next week. 🫠 If there are no issues with the updates after running it for a few days, I will gradually integrate it into the frontend.~~