Good project structure for front & backend #32069
-
Hey I got a question. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I believe what you're looking for are git submodules. In short if you run Other than that you could also create a monorepo essentially combining both projects under the same repository which is common practice in certain situations as well. There are build systems dedicated to managing such repositories. |
Beta Was this translation helpful? Give feedback.
I believe what you're looking for are git submodules.
In short if you run
git submodule add <your-repo>
in a git repository,<your-repo>
will be added as a folder inside your main repository. You can add as many submodules as you like. You could even have private submodules in public repositories and they would not be visible to the public. An example of that could be seen in my dotfiles repository with thepersonal
submodule.Other than that you could also create a monorepo essentially combining both projects under the same repository which is common practice in certain situations as well. There are build systems dedicated to managing such repositories.