-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RSN-60] - Implement required methods in MeController and UserControl…
…ler (#58) * feat: add jwt and exceptions handlers Simplify the logic on the controllers' side, custom exceptions and a library for validation were added. The implemented handlers are allow to catch those exceptions and return the corresponding statuses and detailed response. Additionally, mappers have been created to more easily convert entities into the corresponding DTOs, fixed enum conversion when it comes to UserRole and export postgres port on the development environment. * test: add unit tests for jwt, handlers and validators * feat: add placeholders for endpoints * chore: add missing controllers placeholders * Created controllers * Created controllers * Finished controllers and updated services * Update UserService tests * Create and update image methods update * Image controllers update * Update controller and service * Added Address to UserDto * Controller update and service changes Changed Image and Participant service (and participant tests), controller now use new service methods * Methods name changes --------- Co-authored-by: raczu <[email protected]>
- Loading branch information
Showing
15 changed files
with
361 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.