Remove the entire Medusa integration that was replaced by native database
queries for product management. This includes the medusa-backend directory,
all Medusa API routes (cart, orders, products, regions, health), Medusa
client library and React hooks, StripeCheckout component, publish service,
Docker services (medusa, medusa_db, medusa_redis), CI/CD workflow, and
all Medusa references from config files, scripts, and docker-compose.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add scripts/start-all.sh: orchestrated startup with health checks for all
services (Docker, Medusa, Next.js) in correct dependency order
- Add scripts/stop-all.sh: graceful shutdown of application services
- Update package.json with cleaner commands (npm run d, start:all, stop:all)
- Enhance /api/health endpoint to check all services (database, Medusa,
Meilisearch) with latency metrics and overall status
- Add graceful degradation to shop API: returns empty products instead of
crashing when Medusa backend is unavailable
- Fix inventory API: remove references to non-existent item_uuid column
This makes the system more resilient - the frontend continues working even
when optional services (Medusa) are temporarily down.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>