87e9346d62
- NestJS backend with 11 modules: Auth, Employees, Departments, Attendance, Leaves, Payroll, Reimbursements, Announcements, Tax, Reports, Admin - JWT authentication with refresh tokens, role-based access (employee/hr_admin/super_admin) - MongoDB schemas with Mongoose for all entities - PDF payslip generation with pdfkit - OpenTelemetry tracing to SigNoz - Automatic database seeding on first startup - Next.js 14 frontend with App Router, Tailwind CSS - 25 pages covering all employee, HR admin, and super admin workflows - Multi-stage Dockerfile with nginx proxy - test-manifest.json for E2E testing Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
609 B
TypeScript
16 lines
609 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { MongooseModule } from '@nestjs/mongoose';
|
|
import { ReimbursementsController } from './reimbursements.controller';
|
|
import { ReimbursementsService } from './reimbursements.service';
|
|
import { Reimbursement, ReimbursementSchema } from './schemas/reimbursement.schema';
|
|
|
|
@Module({
|
|
imports: [
|
|
MongooseModule.forFeature([{ name: Reimbursement.name, schema: ReimbursementSchema }]),
|
|
],
|
|
controllers: [ReimbursementsController],
|
|
providers: [ReimbursementsService],
|
|
exports: [ReimbursementsService, MongooseModule],
|
|
})
|
|
export class ReimbursementsModule {}
|