/tator-shop

TATOR - Shop Module

Primary LanguageTypeScript

TATOR™ - Shop Module

Product Manager • Cash registry • Online Shop • Accounting

a TATOR™ software product

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

© 2019 - Moritz Petzka - petzka.com

Documentation



Install module

1. add repository as submodule

git submodule add https://github.com/jodermo/tator-shop.git angular-app/modules/tator-shop --name tator-shop

2. add angular module

Edit file: angular-app/import.module.ts

import { TatorShopModule } from './modules/tator-shop/tator-shop.module';
@NgModule({
    imports: [
        TatorShopModule,
    ],
    exports: [
        TatorShopModule,
    ],
})

3. add nest.js modules

Edit file: nest-app/import.module.ts

import { PaymentModule } from '../angular-app/modules/tator-shop/nest/payment/payment.module';
import { CurrencyModule } from '../angular-app/modules/tator-shop/nest/currency/currency.module';
import { DiscountModule } from '../angular-app/modules/tator-shop/nest/discount/discount.module';
import { ProductGroupModule } from '../angular-app/modules/tator-shop/nest/product-group/product-group.module';
import { TaxModule } from '../angular-app/modules/tator-shop/nest/tax/tax.module';
import { ProductCategoryModule } from '../angular-app/modules/tator-shop/nest/product-category/product-category.module';
import { OrderModule } from '../angular-app/modules/tator-shop/nest/order/order.module';
import { ProductModule } from '../angular-app/modules/tator-shop/nest/product/product.module';
import { ShippingModule } from '../angular-app/modules/tator-shop/nest/shipping/shipping.module';
import { ManufacturerModule } from '../angular-app/modules/tator-shop/nest/manufacturer/manufacturer.module';
@Module({
    imports: [
        CurrencyModule,
        DiscountModule
        ManufacturerModule,
        OrderModule,
        PaymentModule,
        ProductCategoryModule,
        ProductGroupModule,
        ProductModule,
        ShippingModule,
        TaxModule,
    ],
    exports: [
        CurrencyModule,
        DiscountModule
        ManufacturerModule,
        OrderModule,
        PaymentModule,
        ProductCategoryModule,
        ProductGroupModule,
        ProductModule,
        ShippingModule,
        TaxModule,
    ],
})