microservices nest new invoice-service nest g resource invoice Thông báo - service bắt sự kiện và gửi mail nest new mail-service
npm i @nestjs/config npm i @nestjs/swagger npm i typeorm mysql2 npm i class-validator class-transformer npm i @nestjs/cqrs
notification ( notification_id, title, content, created_at )
nest-ddh-dojo-master notification-ddd-cqrs
Từ folder mẫu nest-ddh-dojo-master
hãy hướng dẫn tôi tạo dự án đơn giản ở folder notification-ddd-cqrs với yêu cầu crud
notification ( notification_id, title, content, created_at )
kubernetes ---.yaml microservices ---user-service ---invoice-service ---report-service skaffold.yaml
xxxxxx-service main.ts xxxxxx.module.ts controllers ---xxxxxx.controller.ts domain ---core ------xxxxxx.aggregate-root.ts ------events ---------xxxxxx.event.ts ------value-objects ---------xxxxxx.value-object.ts ------entities ---------xxxxxx.entity.ts ---app ------app.ts ------commands ---------xxxxxx ---------xxxxxx.port.ts ---------xxxxxx.command.ts ---------xxxxxx.command-handler.ts ------queries ---------xxxxxx ---------xxxxxx.port.ts ---------xxxxxx.query.ts ---------xxxxxx.query-handler.ts infrastructure ---xxxxxx.infrastructure.ts ---event-bus ------kafka