Deployments can be found under following urls:
master
branch: https://bears-18.now.sh
develop
branch: https://bears-18-dev.now.sh
The application consists of several components, a rough outline:
The backend consists of the following pieces:
This will be the bulk of the backend application. There will be a small part in the serverside code that will be reponsible to bootup NextJS. More on NextJS in the Frontend section.
Frontend consists of the following pieces:
This workflow is based on the Git Flow method.
We have 2 main branches, namely develop
and master
.
Master is meant as the release branch and our goal should be to push something meaningful to this branch that works after every sprint.
This branch is also protected from direct pushes and you always need to make changes to it via a Pull Request (PR).
The main branch you'll be using will be the develop
branch.
When you create a specific feature branch, you choose develop as the starter and target it for the merge as well. You can use certain keywords to automatically close issues if your PR solves those issues.
For clarity we can add the issue number in the branch name or PR, followed by a short description. For example:
1/document-github-workflow
.
So in short:
master
-> For release, so one PR with all the changes from last week from develop
develop
-> Accumulator branch for active development, here all the features will get merged.Feature branches
-> Your own dev branch based from develop
to complete your tickets!