Category Manager manages the input and output processes with simple validation from the frontend to the database interface layer section.
See Red highlight below for the scope of this repository.
| URL | Method | INFO |
|---|---|---|
category |
GET | Get All Data |
category/store |
POST | Save Data |
category/{id} |
GET | Get Data by ID |
category/search |
GET | Search Data Query |
category/update/{id} |
PUT | Update Data by ID |
category/delete/{id} |
DELETE | Delete Data by ID |
When committing, precommit hook been called and expect tests and linting be passed first
Commit message Conventional Commits.
The commit message should be structured as follows:
<squad abbreviation-ticket number> <type>(<scope>): <description>
<BLANK LINE>
[optional body]
<BLANK LINE>
[optional footer]CM-21 feat(dbid): allow provided config object to extend other configs
CM-22 BREAKING CHANGE(dbid): redirect old API request service page to new versionIf the commit reverts a previous commit, it should begin with revert:, followed by the header of the reverted commit. In the body it should say: This reverts commit <hash>., where the hash is the SHA of the commit being reverted.
Must be one of the following:
| type | usage |
|---|---|
| fix | A bug fix (this correlates with PATCH in semantic versioning). |
| feat | A new feature (this correlates with MINOR in semantic versioning). |
| BREAKING CHANGE | introduces a breaking API change (correlating with MAJOR in semantic versioning). A breaking change can be part of commits of any type. |
| chore | bau taks |
| build | Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm, webpack) |
| ci | Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) |
| docs | Documentation only changes |
| perf | A code change that improves performance |
| refactor | A code change that neither fixes a bug nor adds a feature |
| style | Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) |
| test | Adding missing tests or correcting existing tests |
The scope should be the name of the component package affected (as perceived by the person reading the changelog generated from commit messages.
The following is the list of supported scopes:
| Short Code | Components |
|---|---|
| dbid | Database Interface Layer |
| test | Test automation |
| doc | Documentation |
| ... keep adding above list |








