great it is working! now we are going to build a larger Go application. Our youtube upload manager, this is a two screen app, first youtube credentials and login then the main app where we generate and upload video to youtube. The credentials screen has a json file uploader users upload their google client secret this will allow google login for the users authorized users. once we are logged in i want to show the username at top of main screen. the main screen is empty until user picks a target directory. now the app recursively scans the folder for mp4 and mp3 and png and jpg media and lists them all in our main screen organized by media type. all media has a preview area a 480×320 preview window that can play videos or audio or show images. remember all the media is grouped by type with video at top. videos always contain title and description videos contain upload to youtube button AND schedule upload giving user ability to leverage Youtube scheduling api, we need a small db for persistence. we must save videos status such as uploaded (and date) or if scheduled submitted (and date). under videos we have audio and images, users can browse for and attach audio to images and they can browse and attach images to audio and then generate both into an mp4! now that mp4 is saved in the target directory and shows first in the video section ready to be uploaded.
break the app down into separate layers, the functionality described will create a lot of incidental ui such as loaders and progress indicators, helper text and reusable layouts and containers.
i don’t expect you to code the entire app but let’s try to build the key app structure with ideal folder structure and good separation of concerns and todo documentation.
return the Go scaffolding as a bundled downloadable zip.
Leave a Reply