Files
psp_api/src/stores/stores.module.ts
T
ahasani 621e15dd02 feat: implement inventory, product brand, product category, product info, product, role, store, user, and vendor modules with CRUD operations
- Added Create and Update DTOs for Inventory, Product Brand, Product Category, Product Info, Product, Role, Store, User, and Vendor.
- Implemented InventoriesController, ProductBrandsController, ProductCategoriesController, ProductInfoController, ProductsController, RolesController, StoresController, UsersController, and VendorsController with respective CRUD endpoints.
- Developed InventoriesService, ProductBrandsService, ProductCategoriesService, ProductInfoService, ProductsService, RolesService, StoresService, UsersService, and VendorsService to handle business logic.
- Created PrismaModule and PrismaService for database interactions using Prisma with MariaDB adapter.
- Configured application with Swagger for API documentation and added global interceptors for logging and response mapping.
- Established e2e testing setup with Jest for the application.
2025-12-04 21:05:57 +03:30

12 lines
334 B
TypeScript

import { Module } from '@nestjs/common'
import { PrismaModule } from '../prisma/prisma.module'
import { StoresController } from './stores.controller'
import { StoresService } from './stores.service'
@Module({
imports: [PrismaModule],
controllers: [StoresController],
providers: [StoresService],
})
export class StoresModule {}