Files
corestate/services/encryption-service/package.json
Wiktor d89118eb70 feat: complete full-fledged mobile app and comprehensive system improvements
## Major Features Added:

### 📱 Complete Native Mobile App
- Full Android app with Material 3 design and Jetpack Compose
- Dashboard, Backup, Files, and Settings screens with rich functionality
- Biometric authentication, file management, and real-time sync
- Modern UI components and navigation with proper state management
- Comprehensive permissions and Android manifest configuration

### 🚀 Enhanced CI/CD Pipelines
- 7 comprehensive GitHub workflows with proper testing and deployment
- Multi-language support (Kotlin, Rust, Python, Node.js, Scala)
- Security scanning with Trivy, CodeQL, Semgrep, and infrastructure validation
- Performance testing with automated benchmarking and reporting
- ML training pipeline with model validation and artifact management

### 🏗️ Production-Ready Infrastructure
- Complete Terraform configuration with VPC, EKS, security groups, IAM
- Kubernetes deployments with proper resource management and health checks
- Service mesh integration with Prometheus monitoring
- Multi-environment support with secrets management

### 🤖 Advanced ML Capabilities
- Enhanced anomaly detection with Variational Autoencoders and Isolation Forest
- Sophisticated backup prediction with ensemble methods and temporal features
- 500+ lines of production-ready ML code with proper error handling
- Model serving infrastructure with fallback mechanisms

### 🔧 Complete Microservices Architecture
- 5 new production-ready services with Docker containers:
  - Compression Engine (Rust) - Multi-algorithm compression optimization
  - Deduplication Service (Python) - Content-defined chunking
  - Encryption Service (Node.js) - Advanced cryptography and key management
  - Index Service (Kotlin) - Elasticsearch integration for fast search
  - Enhanced existing services with comprehensive dependency management

### 📊 System Improvements
- Removed web dashboard in favor of full mobile app
- Enhanced build configurations across all services
- Comprehensive dependency updates with security patches
- Cross-platform mobile support (Android + iOS KMP ready)

## Technical Details:
- 91 files changed: 9,459 additions, 2,600 deletions
- Modern Android app with Hilt DI, Room, Compose, WebRTC, gRPC
- Production infrastructure with proper security and monitoring
- Advanced ML models with ensemble approaches and feature engineering
- Comprehensive CI/CD with security scanning and performance testing
2025-07-23 02:55:21 +02:00

100 lines
2.7 KiB
JSON

{
"name": "encryption-service",
"version": "2.0.0",
"description": "High-performance encryption service for CoreState backup system",
"main": "dist/index.js",
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"type-check": "tsc --noEmit",
"clean": "rm -rf dist",
"docker:build": "docker build -t encryption-service .",
"prestart": "npm run build"
},
"dependencies": {
"@grpc/grpc-js": "^1.9.7",
"@grpc/proto-loader": "^0.7.10",
"express": "^4.18.2",
"crypto": "^1.0.1",
"node-forge": "^1.3.1",
"argon2": "^0.31.2",
"scrypt": "^6.3.0",
"tweetnacl": "^1.0.3",
"libsodium-wrappers": "^0.7.11",
"uuid": "^9.0.1",
"winston": "^3.11.0",
"dotenv": "^16.3.1",
"helmet": "^7.1.0",
"cors": "^2.8.5",
"compression": "^1.7.4",
"prom-client": "^15.0.0",
"node-cron": "^3.0.3",
"ajv": "^8.12.0",
"jsonwebtoken": "^9.0.2",
"jose": "^5.1.1",
"redis": "^4.6.10",
"ioredis": "^5.3.2"
},
"devDependencies": {
"typescript": "^5.2.2",
"ts-node-dev": "^2.0.0",
"@types/node": "^20.8.6",
"@types/express": "^4.17.20",
"@types/uuid": "^9.0.6",
"@types/cors": "^2.8.15",
"@types/compression": "^1.7.4",
"@types/jsonwebtoken": "^9.0.4",
"@types/node-cron": "^3.0.9",
"@types/node-forge": "^1.3.9",
"jest": "^29.7.0",
"@types/jest": "^29.5.6",
"ts-jest": "^29.1.1",
"eslint": "^8.52.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"prettier": "^3.0.3",
"nodemon": "^3.0.1",
"supertest": "^6.3.3",
"@types/supertest": "^2.0.15"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": ["<rootDir>/src"],
"testMatch": ["**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts"],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/**/*.test.ts",
"!src/**/*.spec.ts"
]
},
"keywords": [
"encryption",
"crypto",
"security",
"backup",
"aes",
"rsa",
"key-management"
],
"author": "CoreState Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/corestate/CoreState-v2.git",
"directory": "services/encryption-service"
}
}