Implemented a complete Angular 20 migration with modern standalone components architecture and production-ready Docker deployment: **Frontend Migration:** - Created Angular 20 application with standalone components (no NgModules) - Implemented three main components: artifacts-list, upload-form, query-form - Added TypeScript models and services for type-safe API communication - Migrated dark theme UI with all existing features - Configured routing and navigation between views - Set up development proxy for seamless API integration - Reactive forms with validation for upload and query functionality - Auto-refresh artifacts every 5 seconds with RxJS observables - Client-side sorting, filtering, and search capabilities - Tags displayed as inline badges, SIM source grouping support **Docker Integration:** - Multi-stage Dockerfile for Angular (Node 24 build, nginx Alpine serve) - nginx configuration for SPA routing and API proxy - Updated docker-compose.yml with frontend service on port 80 - Health checks for all services - Production-optimized build with gzip compression and asset caching **Technical Stack:** - Angular 20 with standalone components - TypeScript for type safety - RxJS for reactive programming - nginx as reverse proxy - Multi-stage Docker builds for optimal image size All features fully functional and tested in Docker environment. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"ng": "ng",
|
|
"start": "ng serve --proxy-config proxy.conf.json",
|
|
"build": "ng build",
|
|
"build:prod": "ng build --configuration production",
|
|
"watch": "ng build --watch --configuration development",
|
|
"test": "ng test"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 100,
|
|
"singleQuote": true,
|
|
"overrides": [
|
|
{
|
|
"files": "*.html",
|
|
"options": {
|
|
"parser": "angular"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"@angular/common": "^20.3.0",
|
|
"@angular/compiler": "^20.3.0",
|
|
"@angular/core": "^20.3.0",
|
|
"@angular/forms": "^20.3.0",
|
|
"@angular/platform-browser": "^20.3.0",
|
|
"@angular/router": "^20.3.0",
|
|
"rxjs": "~7.8.0",
|
|
"tslib": "^2.3.0",
|
|
"zone.js": "~0.15.0"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/build": "^20.3.5",
|
|
"@angular/cli": "^20.3.5",
|
|
"@angular/compiler-cli": "^20.3.0",
|
|
"@types/jasmine": "~5.1.0",
|
|
"jasmine-core": "~5.9.0",
|
|
"karma": "~6.4.0",
|
|
"karma-chrome-launcher": "~3.2.0",
|
|
"karma-coverage": "~2.2.0",
|
|
"karma-jasmine": "~5.1.0",
|
|
"karma-jasmine-html-reporter": "~2.1.0",
|
|
"typescript": "~5.9.2"
|
|
}
|
|
} |