Skip to content

Angular modules

Andrés Meyer edited this page Jan 22, 2020 · 5 revisions

The application has the following Angular modules so far:

  • AppModule: The root application module. Declares the AppComponent class and imports the modules that are eagerly loaded on startup, and provides the application initializations;
  • AppRoutingModule: Contains the route definitions for the basic pages, like home, login, registration and content page, as well as defines the lazy-loaded application modules;
  • CoreModule: Contains the declarations of the components that define the application layout. Also provides all the shared services used on the application;
  • SharedModule: Contains the declarations of the components, directives and pipes that are reused through the application. Also imports and re-exports the modules we use from other libraries;
  • Modules with components imported directly by AppModule:
    • LoginModule;
    • HomeModule;
    • ContentModule.
  • Modules loaded lazily:
    • BankingModule;
    • MarketplaceModule;
    • OperationsModule;
    • PersonalModule;
    • RecordsModule;
    • UsersModule.

All modules include the SharedModule, except for itself.

Clone this wiki locally