← Hub
Dependencies
PDI Reference Services APIs Architecture
Framework & Core
πŸ“¦
@medusajs/medusa
v2.x
Core e-commerce backend framework with built-in order, cart, and product management.
Main server framework, REST API endpoints, database ORM
πŸ—οΈ
@medusajs/framework
v2.x
Medusa framework primitives and utilities for plugin development.
Plugin system, module registration, configuration
πŸ—„οΈ
MikroORM
v5.x
TypeScript ORM for database abstraction and migrations.
Entity definitions, database queries, schema management
Loyalty Integration
πŸ”—
axios
v1.6+
HTTP client for making REST API calls to PDI Conexxus.
Member validation, points lookups, reward management
⚑
opossum
v7.x
Circuit breaker pattern for PDI API resilience.
Fault tolerance, fallback handling, call degradation
πŸ”
jsonwebtoken
v9.x
JWT handling for OAuth2 token management and validation.
Token signing, verification, claims parsing
Payment & Auth
πŸ’³
stripe
v13.x
Stripe payment processor integration.
Payment methods, charges, subscription management
πŸ’°
finix-payments
v2.x
Finix payment gateway for alternative payment processing.
Tokenized payments, merchant integration
πŸ”‘
firebase-admin
v12.x
Firebase admin SDK for authentication and user management.
User creation, token verification, token revocation
πŸ“§
@medusajs/auth-emailpass
v1.x
Email/password authentication strategy for Medusa.
Customer login, password reset, session management
Infrastructure & Storage
πŸ—ƒοΈ
pg
v8.x
PostgreSQL database driver for data persistence.
Connection pooling, query execution, transaction management
⚑
ioredis
v5.x
Redis client for caching and session storage.
Cart caching, token blacklist, loyalty session cache
☁️
aws-sdk
v3.x
AWS SDK for S3 file storage and CDN integration.
Product images, customer documents, bulk exports
πŸ”
@sendgrid/mail
v7.x
SendGrid email service for transactional email delivery.
Order confirmations, reward notifications, account emails
Framework & Runtime
βš›οΈ
next
v15.3
React meta-framework with SSR, routing, and static generation.
Pages, API routes, file-based routing, image optimization
βš›οΈ
react
v19.1
UI library for building interactive components.
Component hierarchy, state management, effects
πŸ”·
typescript
v5.6
TypeScript compiler for type-safe JavaScript development.
Type checking, IDE support, development-time error detection
State Management
πŸ“Š
@reduxjs/toolkit
v1.9+
Redux state management with simplified API and utilities.
Cart state, user profile, loyalty session state
πŸ”Œ
react-redux
v8.x
React bindings for Redux store integration.
useSelector, useDispatch, component integration
πŸ’Ύ
redux-persist
v6.x
Persist Redux state to local storage across sessions.
Cart persistence, user preferences, offline capability
πŸ“‘
@tanstack/react-query
v5.x
Server state management for data fetching and caching.
API data, infinite queries, optimistic updates
UI & Styling
🎨
tailwindcss
v3.x
Utility-first CSS framework for responsive design.
Layout, typography, responsive breakpoints, dark mode
🧩
@medusajs/ui
v1.x
Pre-built UI components from Medusa ecosystem.
Forms, modals, tables, buttons, commerce components
🎭
@headlessui/react
v1.x
Unstyled, accessible UI components for custom styling.
Dropdowns, tabs, modals, menu systems
Payment & Commerce
πŸ’³
@stripe/react-stripe-js
v2.x
Stripe React components for payment form integration.
Card elements, payment requests, checkout flow
πŸ’³
@stripe/stripe-js
v2.x
Core Stripe JavaScript library.
Stripe API access, card validation, payment processing
Search & Analytics
πŸ”
@meilisearch/instant-meilisearch
v1.x
MeiliSearch integration for instant product search.
Product search, filters, real-time results
πŸ”
algoliasearch
v4.x
Algolia search API for advanced search and analytics.
Typo tolerance, faceting, personalization
πŸ“
posthog-js
v1.x
PostHog analytics for product insights and feature flags.
Event tracking, user analytics, A/B testing
πŸ—ΊοΈ
@react-google-maps/api
v2.x
Google Maps API wrapper for location features.
Store locator, delivery zones, mapping
Data & Caching
🐘
PostgreSQL
v14+
Primary relational database for all application data.
Connection: medusa-db:5432
⚑
Redis
v7.x
In-memory cache for sessions, queues, and real-time data.
Connection: redis:6379
☁️
S3 Storage
AWS S3
Cloud storage for product images, documents, and exports.
Bucket: lula-direct-pdiloyalty
πŸ”
MeiliSearch
v1.x
Full-text search engine for product catalog and filtering.
Connection: meilisearch:7700
External APIs
🎁
PDI Conexxus API
REST v1.1
Loyalty program provider, member validation, points management.
OAuth2 + REST endpoints
πŸ’³
Stripe API
v2024.x
Payment processing, subscriptions, refunds, webhooks.
REST API + webhooks
πŸ’°
Finix API
REST
Alternative payment gateway for alternative payment methods.
REST API + tokenization
πŸ”
Firebase Auth
SDK v9
User authentication, token management, email verification.
REST API + SDKs
πŸ“§
SendGrid
v3 API
Transactional email delivery for notifications and confirmations.
SMTP + REST API
Deployment & Infrastructure
πŸ‹
Docker
Compose v3
Container orchestration for consistent development and production environments.
Compose v3, multi-stage builds
βš™οΈ
Nginx
v1.x
Reverse proxy, load balancing, static file serving, SSL/TLS.
Configuration: /etc/nginx/conf.d/
πŸš€
Node.js
v18 LTS+
JavaScript runtime for backend and CLI tooling.
v18 LTS+
πŸ“¦
npm/pnpm
Workspaces
Package management for dependencies and scripts.
Monorepo support via workspaces
Critical Path (Ordered Dependencies)
LOY-001
β†’
LOY-002
β†’
LOY-003
β†’
LOY-006
β†’
LOY-010
β†’
LOY-015
β†’
LOY-017
Ticket Depends On
LOY-002 LOY-001
LOY-003 LOY-002
LOY-004 LOY-003
LOY-005 LOY-003
LOY-006 LOY-003
LOY-007 LOY-006
LOY-008 LOY-006
LOY-009 LOY-006
LOY-010 LOY-006
LOY-011 LOY-010
LOY-012 LOY-010
LOY-013 LOY-010
LOY-014 LOY-010
LOY-015 LOY-010
LOY-016 LOY-015
LOY-017 LOY-015