This repository was archived by the owner on Jul 6, 2025. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several changes across multiple areas of the codebase, including environment configuration, authentication, user management, and updates to order and product handling. Below is a summary of the most important changes grouped by theme:
Environment and Configuration Updates:
deploy/.env.exampleand added aFRONTEND_HOSTvariable. [1] [2]deploy/docker-compose.ymlto adjust MySQL port mappings and replace environment variable references for database credentials with hardcoded values. [1] [2]FRONTEND_URLas an environment variable indeploy/docker-compose.yml.Authentication Enhancements:
/meendpoint inAuthControllerto retrieve the current user's profile using a validated access token.AuthResponseandNextAuthResponseto includeUserProfileResponseinstead of individual user fields likeid,name, andemail. [1] [2] [3]AuthenticationResultto include aUserobject alongside theAuthenticatedUser. [1] [2] [3]User Management:
UserControllerwith endpoints to fetch all users (with pagination) and retrieve a user by ID, accessible only to admins.Order and Product Enhancements:
updatedAttimestamp fields toOrderDetailsResponseandOrderDetailsDTO. [1] [2] [3]UpdateProductRequestandProductSummaryResponseto includeimageUrlandisActivefields for better product management. [1] [2] [3] [4]Miscellaneous:
ROLE_MANAGER) from theUserRoleenum.canCaptureOrderinOrderApplicationServicefor future order capture functionality.