Skip to content

feat(mentor): add mentor module with CRUD and filtering#148

Merged
ahmadogo merged 1 commit intoMentoNest:mainfrom
Uyoxy:feature/mentor-module-crud
Jan 28, 2026
Merged

feat(mentor): add mentor module with CRUD and filtering#148
ahmadogo merged 1 commit intoMentoNest:mainfrom
Uyoxy:feature/mentor-module-crud

Conversation

@Uyoxy
Copy link
Contributor

@Uyoxy Uyoxy commented Jan 26, 2026

Implements the Mentor module with full CRUD functionality, validation, and authorization rules as specified.

Features Implemented

  • Mentor entity with profile fields and timestamps
  • Create mentor profile (restricted to users flagged as mentors)
  • List mentors with filtering by expertise and price range
  • Get mentor by ID
  • Update mentor profile (ownership enforced)
  • Soft delete mentor profile
  • Input validation and auth guards applied

Technical Details

  • Expertise handled as array / relation (as per implementation choice)
  • Query filters optimized for common search use cases
  • Ownership checks enforced at service level
  • All work done inside the drips folder as required

How to Test

  1. Create a user flagged as mentor
  2. Create mentor profile
  3. Query mentors with expertise and price filters
  4. Attempt update/delete as owner vs non-owner
  5. Verify soft delete behavior

Closes #126

@ahmadogo ahmadogo merged commit 4402d62 into MentoNest:main Jan 28, 2026
0 of 2 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.

Generate Mentor module with CRUD

2 participants