An educational monorepo showcasing Angular best practices, patterns, and examples.
- 🎯 Focused examples of Angular concepts and patterns
- 📚 Educational content with interactive demos
- 🏗️ Built with Nx for optimal monorepo management
- 🎨 Nebular UI components for consistent, beautiful interfaces
- 🔄 Dynamic topic loading with demo-loader
- 🧩 Standalone components throughout
- 📐 BEM methodology for CSS
- 🛠️ Custom generators for consistent topic creation
angular-bits/
├── apps/
│ └── showcase/ # Main demo application
├── libs/
│ ├── shared/
│ │ ├── core/ # Core utilities and services
│ │ ├── ui/ # Shared UI components
│ │ └── demo-loader/ # Dynamic topic loader
│ └── topics/ # Educational topic components
└── tools/
└── generators/ # Custom Nx generators
- Clone the repository:
git clone https://github.com/yourusername/angular-bits.git
cd angular-bits- Install dependencies:
npm install- Start the development server:
nx serve showcase- Visit http://localhost:4200
Use our custom generator to create new topics:
nx generate @angular-bits/generators:topic --name=your-topic-name --category=componentAvailable categories:
- component
- directive
- service
- pipe
We use Nebular as our UI component library. All examples and demos should use Nebular components exclusively.
Please refer to:
.cursorrulesfor detailed development rulesCONTRIBUTING.mdfor contribution guidelines- Individual library README files for specific documentation
nx serve showcase- Start the development servernx build showcase- Build the showcase appnx test showcase- Run unit testsnx affected:test- Run tests for affected projectsnx affected:build- Build affected projects
MIT