All notable changes to this project will be documented in this file.
- Added
npm run clean-templatecommand to remove demo content - Interactive script with confirmation prompt
- Preserves core structure while removing examples
- Comprehensive cleanup of auth pages, demo data, and example components
- Automatic route updates after cleanup
- Beautiful welcome page after cleaning
- Color-coded terminal output for better UX
- Created
.cursorrulesfile for AI assistant context - Added comprehensive Cursor rules for Angular 20 best practices
- Created
QUICK-START.mdfor new users - Added
scripts/README.mdwith cleanup script documentation - Created
.github/CLEAN-TEMPLATE-GUIDE.mdwith detailed cleanup guide - Updated main
README.mdwith clean template instructions
- Clean starter option alongside example-rich version
- Two-path approach: Learn from examples OR start fresh
- Production-ready configuration maintained in both modes
- AI-optimized with complete context files
angularvibecoding/
├── README.md # Main documentation
├── QUICK-START.md # Quick start guide
├── CHANGELOG.md # This file
├── .cursorrules # AI assistant rules
├── .github/
│ └── CLEAN-TEMPLATE-GUIDE.md # Detailed cleanup guide
├── docs/
│ ├── best-practices.md # Coding standards
│ └── setup.md # AI setup guide
└── scripts/
├── clean-template.js # Cleanup script
└── README.md # Script documentation
The clean template script (npm run clean-template):
Removes:
src/app/auth/- All authentication pages and servicessrc/app/data/- Demo data pagessrc/app/home/- Duplicate home foldersrc/app/shared/example-component/- Example components
Keeps:
src/app/core/- Layout, header, footer, sidenav, home, not-foundsrc/app/shared/- Notification service, spinner, utilities- All configuration files
- All documentation
- TailwindCSS and DaisyUI setup
.cursorrulesfor AI context
Updates:
app.routes.ts- Simplified routing configurationcore/home/home.html- Beautiful welcome pagecore/home/home.ts- Clean component structurecore/home/home.scss- Empty stylesheet ready for customizationREADME.md- Adds cleanup confirmation note
New commands available:
{
"clean-template": "node scripts/clean-template.js"
}Comprehensive rules for AI assistants including:
- Angular 20 best practices
- Standalone component patterns
- Signal-based state management
- Native control flow syntax
- TypeScript strict typing
- TailwindCSS + DaisyUI styling
- Critical naming conventions (no .component.ts/.service.ts suffixes)
- Clean template script documentation
- Clear quick start guide with two paths
- Option to learn from examples first
- Easy cleanup when ready to build
- Immediate clean template via
npm run clean-template - All best practices and configuration intact
- Production-ready starter in seconds
- Complete context via
.cursorrules - Documented conventions and patterns
- Example-rich for learning OR clean for building
None - this is purely additive. All existing functionality remains unchanged.
No migration needed. This update adds optional tooling.
To use the new clean template feature:
- Review the examples (optional)
- Run
npm run clean-templatewhen ready - Confirm the cleanup
- Start building your app
Potential additions:
- Option to keep specific features during cleanup
- Undo/restore functionality
- Additional starter templates (e-commerce, dashboard, etc.)
- Interactive component generator with best practices
- Pre-commit hooks for code quality
- Automated testing setup
- Deployment scripts for popular platforms
- Angular 20+ with standalone architecture
- Signal-based state management
- TailwindCSS 4 + DaisyUI integration
- Authentication examples (login, register, forgot password)
- Route guards
- Layout components (header, footer, sidenav)
- Notification service
- Loading spinner
- TypeScript strict mode
- SCSS styling
- Comprehensive documentation
This template follows the "learn then build" approach:
- Learn Phase: Explore examples, understand patterns
- Clean Phase: Remove examples, start fresh (optional)
- Build Phase: Create your application with best practices
The clean template script bridges the gap between learning and building, providing flexibility for all skill levels.
To contribute to this template:
- Fork the repository
- Create a feature branch
- Follow the conventions in
.cursorrules - Submit a pull request
Last Updated: October 17, 2025