Angular Frontend Structure
Table of contents
Directory Structure
The Angular frontend follows a modular organization pattern:
Key Components
The frontend is organized with the following key directories:
- src/app/core: Contains services, guards, and interceptors
- src/app/features: Feature modules (contacts, authentication)
- src/app/shared: Reusable components, directives, and pipes
- src/assets: Static assets like images and icons
- src/environments: Environment-specific configuration
Angular Modules
The application is divided into the following modules:
- AppModule: Root module
- CoreModule: Services and guards
- SharedModule: Reusable components
- ContactsModule: Contact management feature
- AuthModule: Authentication feature