Hi @mohan_mishra,
That totally makes sense. Would the other shiny apps also be in child directories of the main one? So it'd look something like this:
apps/
- helper_funcs.R
- ui_component.R
- app1/
- app.R
- app2/
- app.R
...
In general, our recommendation for reusable code snippets would be to put them into an R package.
If the Shiny UI elements aren't already functions, you could turn those into modules.
RStudio Connect can automatically install packages from public git repos, just like from CRAN when your content is deployed. In this case, you'd probably need to store the package somewhere private. RStudio Package Manager supports watching a private git repo to make packages available to the IDE as well as RStudio Connect. If that's not an option, RStudio Connect does support installing private packages (See the bottom of the article).