Skip to content

Conversation

@leticiadia
Copy link
Contributor

🧱 User Module, Controller, Service & ID Validation

Changes made:

New Module Structure:

  • Created a new User module in the AppModule to organize user-related features.

Service Layer:

  • Created UsersService to handle all business logic related to users.

Controller:

  • Created UsersController to define and manage user-related routes.

Data Transfer Object (DTO):

  • Created CreateUserDto to validate and structure incoming user data.

Custom Pipe for ID Validation:

  • Added a custom pipe parse-id.pipe.ts to validate the id parameter from routes.

Code Cleanup:

  • Removed unused comments from auth.module.ts for better readability and maintenance.

@leticiadia leticiadia added the enhancement New feature or request label Jul 30, 2025
@leticiadia leticiadia merged commit 6939e0d into main Jul 30, 2025
2 checks passed
@leticiadia leticiadia deleted the feature/users-module branch July 30, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants