feat: implement ReportsModule with service, controller, and endpoints

Added ReportsModule to manage user reports. Includes service methods for creating, retrieving, and updating report statuses, as well as controller endpoints for handling these operations. Integrated with authentication, role-based access control, and database logic.
This commit is contained in:
Mathis HERRIOT
2026-01-08 15:26:39 +01:00
parent dd875fe1ea
commit dde1bf522f
5 changed files with 149 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { Module } from "@nestjs/common";
import { AuthModule } from "../auth/auth.module";
import { CryptoModule } from "../crypto/crypto.module";
import { DatabaseModule } from "../database/database.module";
import { ReportsController } from "./reports.controller";
import { ReportsService } from "./reports.service";
@Module({
imports: [DatabaseModule, AuthModule, CryptoModule],
controllers: [ReportsController],
providers: [ReportsService],
})
export class ReportsModule {}