avpro-app-core

avPro app core

Usage no npm install needed!

<script type="module">
  import avproAppCore from 'https://cdn.skypack.dev/avpro-app-core';
</script>

README

avPro.App.Core

Services and Components of avLight.App reusable for more projekts and products in ArriView style.

Changelog

Error Codes

Repositories

Install

npm install --save https://github.com/dff-solutions/avPro.App.Core.git

Usage

Store

App core makes use of ngrx. The store should be configured as feature within the app module.

import { StoreModule } from "@ngrx/store";
import { EffectsModule } from "@ngrx/effects";

import { STORE_FEATURE_CORE, reducers, effects } from "@dff/avpro-app-core";

@NgModule({
    imports: [
        StoreModule.forRoot({}), // or whatever configuration you like
        StoreModule.forFeature(STORE_FEATURE_CORE, reducers),
        EffectsModule.forRoot([]),
        EffectsModule.forFeature(effects),
    ]
})
export class AppModule {}

Effects

IndexedDB Effects

To load and store data from IndexedDB optional IdbEffects can be used. These effects are not use by default. If you like to use these effects add them in your AppModule

import { effects, IdbEffects } from "@dff/avpro-app-core";

        EffectsModule.forFeature([
            ...effects,
            IdbEffects
        ]),

Contributing

Team member dff

Documentation