Skip to content

feat(categories): create category model with relationships - #16

Merged
berna39 merged 9 commits into
devfrom
feature/new-model-test-contrubition
Aug 23, 2026
Merged

feat(categories): create category model with relationships#16
berna39 merged 9 commits into
devfrom
feature/new-model-test-contrubition

Conversation

@gracieuxsikuly

Copy link
Copy Markdown

Tiket-number: (categories create category)

@gracieuxsikuly
gracieuxsikuly requested a review from berna39 August 1, 2026 14:13
@berna39
berna39 force-pushed the dev branch 2 times, most recently from f161ae4 to 382a2df Compare August 9, 2026 12:17
Comment thread app/Models/Category.php Outdated
*
* @return HasMany<Profile, $this>
*/
public function developers(): HasMany

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*profiles

@gracieuxsikuly
gracieuxsikuly force-pushed the feature/new-model-test-contrubition branch from d6d64a5 to a664782 Compare August 22, 2026 12:36
@gracieuxsikuly
gracieuxsikuly force-pushed the feature/new-model-test-contrubition branch 4 times, most recently from 939e9ab to 0ab1617 Compare August 22, 2026 13:43

@berna39 berna39 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you add the "storage/api-docs/api-docs.json" got the .gitignore please?
It will be generated on release build by the CI.

And add a seeder with some categories values like "Frontend, backend, data, DBA, Network, OPS, SysOps, Devops, Management, ..." so that we may start with bunch of values

@gracieuxsikuly
gracieuxsikuly force-pushed the feature/new-model-test-contrubition branch from 0ab1617 to 8d7419e Compare August 23, 2026 10:52
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Complexity Health
Enums/ProfileAccountStatus.php 0% 0
Enums/UserRole.php 0% 0
Exceptions/InvalidOAuthCodeException.php 100% 1
Http/Controllers/Api/V1/AuthController.php 96% 9
Http/Controllers/Api/V1/CategoryController.php 100% 5
Http/Controllers/Api/V1/ProfileController.php 100% 7
Http/Controllers/Api/V1/SkillController.php 100% 5
Http/Controllers/Api/V1/UserController.php 100% 1
Http/Controllers/Controller.php 0% 0
Http/Middleware/EnsureUserIsAdmin.php 0% 3
Http/Middleware/ForceJsonResponse.php 100% 1
Http/Requests/UpdateProfileRequest.php 100% 2
Http/Requests/ValidateProfileRequest.php 100% 2
Http/Resources/SkillListResource.php 100% 1
Mail/WelcomeUserMail.php 100% 4
Models/BaseModel.php 100% 1
Models/Category.php 100% 5
Models/Profile.php 86% 4
Models/Project.php 100% 1
Models/Skill.php 57% 4
Models/SkillProfile.php 0% 0
Models/User.php 88% 4
Providers/AppServiceProvider.php 100% 2
Services/AuthService.php 100% 12
Services/MailService.php 100% 1
Services/ProfileService.php 100% 10
Summary 97% (258 / 267) 85

Minimum allowed line rate is 80%

@berna39
berna39 merged commit 5c6cb22 into dev Aug 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants