N
N
Nikita Andreevich2020-12-22 09:00:52
git
Nikita Andreevich, 2020-12-22 09:00:52

What is the best way to organize a project structure with different repositories?

Good day to all.
There was an idea to create a project on js, which will be available on several platforms at once:
web, desktop, mobile (react, react-native, electron). There will also be a server part on node js.
What is the best way to organize such code in github ?
Create a separate repository for each platform:
projectname-desktop
projectname-mobile
projectname-web
or create one repository and there will already be folders for each platform inside:
projectname/desktop ...

On the one hand, there is only one project and I want to somehow group everything in one place, on the other hand, as the functionality for each platform increases, everything can turn into a mess.

What is the best way to organize?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denioo, 2020-12-22
@NikitosAndreevich

Create a separate repository for each platform, one of the reasons you have already mentioned:

everything can turn into a mess.

Another is that it will be difficult to track progress/commits.
On the one hand, the project is one and I want to somehow group everything in one place

For this, there is a github / gitlab all in one place)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question