Squash merge rely-on-nostrmarket-to-publish into main

This commit is contained in:
padreug 2025-10-08 09:19:07 +02:00
parent 08b172ab34
commit c90def94a7
23 changed files with 1739 additions and 239 deletions

View file

@ -33,6 +33,12 @@ The application uses a plugin-based modular architecture with dependency injecti
- **Events Module** (`src/modules/events/`) - Event ticketing with Lightning payments
- **Market Module** (`src/modules/market/`) - Nostr marketplace functionality
**IMPORTANT - Market Event Publishing Strategy:**
- **LNbits "nostrmarket" extension handles ALL market event publishing** (merchants, stalls, products) to Nostr relays
- **Web-app does NOT publish** merchant/stall/product events - only processes incoming events from relays
- **Exception: Checkout/Order events** - Web-app publishes order events directly to Nostr during checkout process
- This division ensures consistency and prevents duplicate publishing while allowing real-time order placement
**Module Configuration:**
- Modules are configured in `src/app.config.ts`
- Each module can be enabled/disabled and configured independently