npm i -g generate-react-cli
This will let you create components easily with: generate-react component {ComponentName}
generate-react-cli. This will also create the necessary scss module and test file.
In the project directory, you can run:
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
Launches the test runner in the interactive watch mode. See the section about running tests for more information.
The project is built with GitHub flow but instead of merges we are using rebase.
This will result in a linear git history making it easier to follow.
Please follow the guidelines of how to write a good commit message which you can find here
- Read through the setup for rebase workflow here. This should provide you with the basic knowledge to work with the specific commands we are using.
- Prefer using
git commit --amend
andgit rebase -i 'COMMITID^'
when possible to reduce the number of "fixes" in the commit tree. - ...Profit