Reputation: 574
I am developing an application with fronend and backend separated and communicated using REST API (say, backend is JAVA/.NET/NodeJS and frontend is React/Angular).
In BitBucket we can have a project and inside that project we can have multiple repository so that code base for backend and frontend can be in same container,
But in Github, if I am not wrong, concept of project is entirely different (Project vs Repository in GitHub). Is there any way to have this feature in Github. Because I have lot of projects which all have separate frontend and backend and it will be helpful if I can organize repositories for a single application in one place instead of keeping it with long list of other applications repositories.
Thanks in advance!
Upvotes: 10
Views: 36818
Reputation: 704
There is a new GitHub feature called Lists that will help get you there. (it's actually still in beta)
It sounds like you're close to having this setup with what you're looking for. At least you've started by using the Organization feature correctly. Since GitHub uses the term Project for something other than what you want let's use Application instead.
In your case an Application has a front-end repository and a back-end repository. In my case I have an Application with two client repositories (mobile app and web app) and an ecosystem of micro-services for the back-end. So, about a dozen repositories for this one Application.
You can group these in three ways. (The second will answer your question)
If you're working with multiple clients/companies/groups you can associate a repository with an Organization. This allows you to manage who has access and ownership of your repositories.
You may have multiple Applications with multiple repositories each. Your list of repositories will show them all. If you want an easy way to group repositories together so you can filter to see just the related ones you use Lists. It isn't the most obvious solution because you have to star a repository to be able to add it to a list. Create a list from the stars page and name it after your Application, like "My Super Cool Auto-Dealership App." Then add any of your repositories to that list. The nice thing here is you can add any repository to the list even if you don't own it as long as it is starred. Now you can view all the repositories that are used to build a single Application.
You'll want to use Projects to organize the work that needs to be done for an Application. So if you create a project and add your front-end and back-end repositories to it then you can see, organize, prioritize, and work issues for both repositories in one place.
So, we use the following GitHub features:
Upvotes: 7
Reputation: 1323115
The closest would be to combine:
Upvotes: 5