This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
- Start development server:
npm start(opens browser automatically) orng serve - Build:
npm run buildorng build - Test:
npm testorng test(uses Vitest test runner) - Lint:
npm run lintorng lint - Format check:
npm run format:test - Format files:
npm run format:write - Bundle analysis:
npm run analyze - Dependency analysis:
npm run analyze:deps
Package manager: pnpm (configured in angular.json)
This is an Angular 20+ application using standalone components with a feature-based architecture:
- App Config: Centralized configuration in
app.config.tsusing provider functions - Core Module:
core/core.tsprovides fundamental Angular setup including zoneless change detection, routing, and animations - Feature-based routing: Each feature has lazy-loaded routes with
loadComponent()pattern - Layout System: Main layout in
layout/main-layout.tswith responsive Material Design navigation
- Standalone Components: All components use
standalone: true(configured in angular.json schematics) - Provider Pattern: Core functionality exposed through
provideCore(),provideLocale(),provideAngularMaterial()functions - Lazy Loading: Features loaded on-demand via route-based code splitting
- OnPush Change Detection: Default strategy for better performance
- Zoneless: Uses
provideZonelessChangeDetection()for modern change detection
- Components are standalone, flat structure, inline templates/styles
- SCSS styling with Tailwind CSS integration
- Skip tests by default for schematics
- Prefix:
my-org - OnPush change detection strategy
- Angular 20+ with Angular Material
- Tailwind CSS for utility-first styling
- RxJS for reactive programming
- Vitest for testing
- ESLint with Angular ESLint rules
- Zod for validation
- Date-fns for date manipulation
feature/: Contains all application features (dashboard, analytics, projects, team, settings, home)layout/: Main application layout componentscore/: Core application configuration and providersui/: Reusable UI components (empty in current structure)styles/: SCSS styling architecture with themes