You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
522 B

import { Module } from "@nestjs/common";
import { CartService } from "./cart.service";
import { CartController } from "./cart.controller";
import { Cart } from "./entities/cart.entity";
import { SequelizeModule } from "@nestjs/sequelize";
import { User } from "src/users/entities/user.entity";
import { Product } from "src/products/entities/product.entity";
@Module({
imports: [SequelizeModule.forFeature([Cart,User,Product])],
controllers: [CartController],
providers: [CartService],
})
export class CartModule {}