Now that we have all of our tools in place, let's practice them all:
- Create a GitHub issue
- Create a new feature branch
- Make code changes
- Write tests for the changes
- Run pint/larastan
- Commit the changes
The end result should be a PR that passes all the checks and is ready to be merged:
Only with practice will you get better at using these tools. So let's get started!
Creating GitHub Issue
Like any task, it should start with an issue we have to solve:
This is what we are going to expect:
With this, we can start implementing the feature.
Creating New Feature Branch
Remember, branches are essential to keep your code organized:
Note: Don't forget to checkout to the dev
branch before creating a new feature branch.
git checkout -b feature/issues-crud
Coding the Feature
While writing code locally, you should remember the good...