Skip to content

🧱 Angular Enterprise Boilerplate A modular, scalable, and maintainable Angular 15+ boilerplate built with best practices. Designed for enterprise-level applications with a well-structured folder architecture, lazy-loaded modules, shared utilities, and core services.

Notifications You must be signed in to change notification settings

hmuzzal/Angular-Essential

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧱 Angular Enterprise Boilerplate

A modular, scalable, and maintainable Angular 15+ boilerplate built with best practices. Designed for enterprise-level applications with a well-structured folder architecture, lazy-loaded modules, shared utilities, and core services.


πŸ”§ Features

βœ… Modular folder structure
βœ… Lazy-loaded features modules
βœ… Centralized core services and interceptors
βœ… Reusable shared components, pipes, and directives
βœ… Auth module with guard support
βœ… Layout module with base layout
βœ… Google Places and Payment service integrations
βœ… Theming with custom LESS support
βœ… SCSS global styles
βœ… Environment-specific configurations


πŸ“ Project Structure Overview

angular-boilerplate/
β”‚
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ core/                         # Singleton services & interceptors
β”‚   β”‚   β”‚   β”œβ”€β”€ interceptors/
β”‚   β”‚   β”‚   β”‚   └── auth.interceptor.ts
β”‚   β”‚   β”‚   β”œβ”€β”€ services/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ api.service.ts
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ auth.service.ts
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ google-places.service.ts
β”‚   β”‚   β”‚   β”‚   └── payment.service.ts
β”‚   β”‚   β”‚   └── core.config.ts           # Use this to configure core providers (replaces module)
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ shared/                       # Reusable components, pipes, directives
β”‚   β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”‚   β”‚   └── custom-input/
β”‚   β”‚   β”‚   β”‚       └── custom-input.component.ts
β”‚   β”‚   β”‚   β”œβ”€β”€ directives/
β”‚   β”‚   β”‚   β”œβ”€β”€ pipes/
β”‚   β”‚   β”‚   └── shared.config.ts         # Export reusable components, directives (optional)
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ auth/
β”‚   β”‚   β”‚   β”œβ”€β”€ login/
β”‚   β”‚   β”‚   β”‚   └── login.component.ts
β”‚   β”‚   β”‚   β”œβ”€β”€ register/
β”‚   β”‚   β”‚   β”‚   └── register.component.ts
β”‚   β”‚   β”‚   └── guards/
β”‚   β”‚   β”‚       └── auth.guard.ts
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ features/                     # Standalone features
β”‚   β”‚   β”‚   β”œβ”€β”€ dashboard/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”‚   β”‚   └── dashboard.component.ts
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   β”œβ”€β”€ contacts/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”‚   β”‚   └── contacts.component.ts
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   β”œβ”€β”€ payment/
β”‚   β”‚   β”‚   β”‚   └── payment-form.component.ts
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   └── maps/
β”‚   β”‚   β”‚       └── place-search.component.ts
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ layout/                       # Application shell
β”‚   β”‚   β”‚   β”œβ”€β”€ main-layout/
β”‚   β”‚   β”‚   β”‚   └── main-layout.component.ts
β”‚   β”‚   β”‚   └── layout.config.ts
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ app.config.ts                 # Main app providers, guards, etc.
β”‚   β”‚   β”œβ”€β”€ app.routes.ts                 # Standalone route definitions
β”‚   β”‚   └── main.ts                       # Bootstrapping the app
β”‚   β”‚
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   └── styles/
β”‚   β”‚       └── themes.less
β”‚   β”‚
β”‚   β”œβ”€β”€ environments/
β”‚   β”‚   β”œβ”€β”€ environment.ts
β”‚   β”‚   └── environment.prod.ts
β”‚   β”‚
β”‚   └── styles.scss
β”‚
β”œβ”€β”€ angular.json
β”œβ”€β”€ package.json
β”œβ”€β”€ tsconfig.json
└── README.md

πŸš€ Quick Start

git clone https://github.com/hmuzzal/Angular-Essential.git
cd Angular-Essential
npm install
ng serve

πŸ“¦ Requirements

  • Angular CLI: v19.x
  • Node.js: v18.13.0 or higher (v18.x or v20.x recommended for Angular 19)

πŸ™Œ Contributions

Open an issue, fork the repo, or submit a pull request β€” your ideas are welcome!

About

🧱 Angular Enterprise Boilerplate A modular, scalable, and maintainable Angular 15+ boilerplate built with best practices. Designed for enterprise-level applications with a well-structured folder architecture, lazy-loaded modules, shared utilities, and core services.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •