managarten/packages
Till-JS 1530efa936 feat(manadeck): migrate backend from Supabase to PostgreSQL with Drizzle ORM
Phase 3 of ManaDeck database migration:

Database Package (@manacore/manadeck-database):
- Configure package for NodeNext module resolution with .js extensions
- Add build script and proper exports for ESM/CJS compatibility
- Export schema types and Drizzle utilities

Backend Migration:
- Add DatabaseModule with singleton database provider
- Create repository layer with Drizzle ORM:
  - DeckRepository: CRUD operations for decks
  - CardRepository: CRUD operations for cards
  - UserStatsRepository: Stats and leaderboard queries
  - DeckTemplateRepository: Template management
- Update ApiController to use repositories for all database operations
- Update PublicController to use repositories for featured decks, leaderboard, templates
- Add DATABASE_URL environment variable support

The backend now uses PostgreSQL via Drizzle ORM instead of Supabase SDK
for database operations. Supabase is still used for auth (via Mana Core)
and edge functions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 02:39:39 +01:00
..
manadeck-database feat(manadeck): migrate backend from Supabase to PostgreSQL with Drizzle ORM 2025-11-25 02:39:39 +01:00
shared-auth feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-auth-stores feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-auth-ui Feat: Login localization, design, märchenzauber feature complete webapp 2025-11-25 02:19:40 +01:00
shared-branding feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-config feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-credit-service feat: add shared credit service package (Tier 5) 2025-11-25 00:16:43 +01:00
shared-i18n Feat: Login localization, design, märchenzauber feature complete webapp 2025-11-25 02:19:40 +01:00
shared-icons feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-subscription-types feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-subscription-ui feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-supabase feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-tailwind feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-theme feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-theme-ui feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-types feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-ui feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00
shared-utils feat: add i18n localization with language switcher to all web apps 2025-11-25 01:41:25 +01:00