Skip to content

Bugs/newservice#57

Merged
CDevmina merged 20 commits intoDevelopmentfrom
bugs/newservice
May 14, 2025
Merged

Bugs/newservice#57
CDevmina merged 20 commits intoDevelopmentfrom
bugs/newservice

Conversation

@CDevmina
Copy link
Owner

This pull request introduces significant updates to the compose.yml file and the demo application, including service restructuring, environment variable updates, and improvements to product recommendation logic. Additionally, it replaces placeholder images with actual product images in the sample product data.

Service Restructuring and Configuration Updates:

  • Renamed the api-service to tapiro-api-internal and updated its configuration, including context, container name, and volume paths (compose.yml).
  • Added a new tapiro-api-external service with its own configuration, including environment variables, health checks, and dependencies (compose.yml).
  • Updated dependencies and environment variables in other services to reflect the new tapiro-api-internal and tapiro-api-external services (compose.yml). [1] [2]
  • Re-added the demo-store service with updated dependencies and environment variables (compose.yml).
  • Removed the old demo-store configuration (compose.yml).

Product Recommendation Logic Improvements:

  • Enhanced the product scoring algorithm in App.tsx to include normalized attribute bonuses and improved handling of category preferences (demo/src/App.tsx).
  • Updated the logic for recommending products to sort by scores, apply thresholds, and handle cases with insufficient high-scoring products (demo/src/App.tsx).

Sample Product Data Updates:

Minor Updates:

  • Updated the default API URL in App.tsx to use VITE_STORE_API_URL with a fallback (demo/src/App.tsx).

CDevmina added 20 commits May 7, 2025 22:30
- Added auth0Util.js for managing Auth0 tokens, user roles, and metadata updates.
- Introduced authUtil.js for user data retrieval and scope validation with caching.
- Created cacheConfig.js to define standard cache TTL values and key prefixes.
- Established dbSchemas.js for MongoDB schema definitions and validation.
- Developed helperUtil.js to check existing user or store registrations.
- Implemented mongoUtil.js for MongoDB connection, schema setup, and index creation.
- Added redisUtil.js for Redis connection and caching functionalities.
- Created writer.js for standardized JSON response handling in API responses.
…nomy service; improve error handling and logging
@CDevmina CDevmina self-assigned this May 14, 2025
@CDevmina CDevmina added the enhancement New feature or request label May 14, 2025
@CDevmina CDevmina merged commit 3506e0e into Development May 14, 2025
4 of 9 checks passed
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.

1 participant