diff --git a/src/products/products.controller.ts b/src/products/products.controller.ts new file mode 100644 index 0000000..054ba8c --- /dev/null +++ b/src/products/products.controller.ts @@ -0,0 +1,4 @@ +import { Controller } from '@nestjs/common'; + +@Controller('products') +export class ProductsController {} diff --git a/src/products/products.module.ts b/src/products/products.module.ts new file mode 100644 index 0000000..16a3c83 --- /dev/null +++ b/src/products/products.module.ts @@ -0,0 +1,9 @@ +import { Module } from '@nestjs/common'; +import { ProductsController } from './products.controller'; +import { ProductsService } from './products.service'; + +@Module({ + controllers: [ProductsController], + providers: [ProductsService] +}) +export class ProductsModule {} diff --git a/src/products/products.service.ts b/src/products/products.service.ts new file mode 100644 index 0000000..b3cc396 --- /dev/null +++ b/src/products/products.service.ts @@ -0,0 +1,4 @@ +import { Injectable } from '@nestjs/common'; + +@Injectable() +export class ProductsService {} diff --git a/src/stocks/stocks.controller.ts b/src/stocks/stocks.controller.ts new file mode 100644 index 0000000..652d18f --- /dev/null +++ b/src/stocks/stocks.controller.ts @@ -0,0 +1,4 @@ +import { Controller } from '@nestjs/common'; + +@Controller('stocks') +export class StocksController {} diff --git a/src/stocks/stocks.module.ts b/src/stocks/stocks.module.ts new file mode 100644 index 0000000..5fdc58d --- /dev/null +++ b/src/stocks/stocks.module.ts @@ -0,0 +1,9 @@ +import { Module } from '@nestjs/common'; +import { StocksController } from './stocks.controller'; +import { StocksService } from './stocks.service'; + +@Module({ + controllers: [StocksController], + providers: [StocksService] +}) +export class StocksModule {} diff --git a/src/stocks/stocks.service.ts b/src/stocks/stocks.service.ts new file mode 100644 index 0000000..75a7e2e --- /dev/null +++ b/src/stocks/stocks.service.ts @@ -0,0 +1,4 @@ +import { Injectable } from '@nestjs/common'; + +@Injectable() +export class StocksService {} diff --git a/src/transactions/transactions.controller.ts b/src/transactions/transactions.controller.ts new file mode 100644 index 0000000..7acba4c --- /dev/null +++ b/src/transactions/transactions.controller.ts @@ -0,0 +1,4 @@ +import { Controller } from '@nestjs/common'; + +@Controller('transactions') +export class TransactionsController {} diff --git a/src/transactions/transactions.module.ts b/src/transactions/transactions.module.ts new file mode 100644 index 0000000..711a4b0 --- /dev/null +++ b/src/transactions/transactions.module.ts @@ -0,0 +1,9 @@ +import { Module } from '@nestjs/common'; +import { TransactionsController } from './transactions.controller'; +import { TransactionsService } from './transactions.service'; + +@Module({ + controllers: [TransactionsController], + providers: [TransactionsService] +}) +export class TransactionsModule {} diff --git a/src/transactions/transactions.service.ts b/src/transactions/transactions.service.ts new file mode 100644 index 0000000..3eaaf60 --- /dev/null +++ b/src/transactions/transactions.service.ts @@ -0,0 +1,4 @@ +import { Injectable } from '@nestjs/common'; + +@Injectable() +export class TransactionsService {}