Commit Graph
2 Commits
Author SHA1 Message Date
g-butandClaude Opus 4.6 b21a680a4b refactor: remove Medusa e-commerce backend and all related infrastructure
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>
2026-02-25 11:43:11 +01:00
g-butandClaude Opus 4.5 f5c2e84d9b feat(infra): add unified startup scripts and graceful service degradation
- 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>
2026-01-27 17:07:30 +01:00