feat: Add new modules and services for stocks, transactions, and products

This commit introduces new nest.js modules for stocks, transactions and products, along with their respective services and controllers. These provide foundation for further feature development in these areas.
This commit is contained in:
Mathis H (Avnyr) 2024-07-12 14:20:48 +02:00
parent 5d696a9118
commit cb8de798c3
Signed by: Mathis
GPG Key ID: DD9E0666A747D126
9 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,4 @@
import { Controller } from '@nestjs/common';
@Controller('products')
export class ProductsController {}

View File

@ -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 {}

View File

@ -0,0 +1,4 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class ProductsService {}

View File

@ -0,0 +1,4 @@
import { Controller } from '@nestjs/common';
@Controller('stocks')
export class StocksController {}

View File

@ -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 {}

View File

@ -0,0 +1,4 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class StocksService {}

View File

@ -0,0 +1,4 @@
import { Controller } from '@nestjs/common';
@Controller('transactions')
export class TransactionsController {}

View File

@ -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 {}

View File

@ -0,0 +1,4 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class TransactionsService {}