Movies project. In this Readme you can find some patterns to be followed
- /components Folder with all available components.
- /forms Folder with all forms.
- /pages Folder with all pages.
- /helpers Folder with helper functions.
- /themes Folder with themes.
- Everything must be named in english.
- Components, functions and constants must have clear name that express its functionality.
- General folders have the names above.
- Folder of each component: is in Upper Camel Case (ex: DropdownMenu)
- Components files: in Upper Camel Case (ex: DropdownMenu.scss)
- Classes: in Upper Camel Case (ex: DropdownMenu)
- Functions, attributes, constants: in Lower Camel Case (ex: getList)
- CSS classes: in lower kebab case (ex: form-button)
Every component must have its scss file and its test.
Components must be generics, without much logic, and reusable.
file.tsxMandatoryfile.scssfile.test.tsxMandatoryfile.hook.tsxHooks implementationfile.schema.tsxDefinition of typesfile.slice.tsxRedux implementation
- Variables always declared at the beginning.
- Use of single quotes.
- Spacing in SPACE SIZE 4.
- Comments in each function, always with /**
- Follow this pattern Conventional Commits
- Commits types must be: Docs, Fix, Feat or Refactor.
- Between () you put what changed, example: comment, library, pipeline, component, page, form...
- Clear message about what changed.
- Specify what component or page changed.
- End the message with Issue: #task-name
- Example: 'feat(component): Created Dropdown component. Component: Dropdown. Issue: #FELL-20'