Basic Architecture of Sport Web
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
|
||||
/**
|
||||
* PromotionsModule — boundary declared, implementation pending.
|
||||
*
|
||||
* Owns (exclusively): `promotions`, `promotion_rules` — milestone 3
|
||||
*
|
||||
* Automatic, cart-level discounts. Pricing is calculated in one place so storefront, admin and invoices can never disagree.
|
||||
*
|
||||
* Anatomy once implemented (see ../README.md):
|
||||
* promotions.module.ts wiring only
|
||||
* promotions.controller.ts HTTP surface, no logic
|
||||
* promotions.service.ts business rules
|
||||
* promotions.repository.ts the only file that touches Prisma
|
||||
* dto/ request/response shapes
|
||||
* public/ what other modules may import
|
||||
*/
|
||||
@Module({})
|
||||
export class PromotionsModule {}
|
||||
Reference in New Issue
Block a user