✨ New Features: - AI-powered habit creation with natural language processing - HuggingFace transformers integration for sentiment analysis (tracked via Git LFS) - Advanced predictive analytics and behavioral insights - Voice & image input capabilities for hands-free habit tracking - Real-time notifications and community features - Plugin system with extensible architecture 🔧 Technical Improvements: - Comprehensive FastAPI backend with 30+ endpoints - React frontend with PWA capabilities - Advanced authentication with 2FA support - RBAC authorization system - Comprehensive security features (CSRF, rate limiting, audit logging) - Database migrations and health monitoring - Docker containerization support - Git LFS configured for large AI model files (2+ GB) 📚 Documentation & DevOps: - Complete deployment guides for multiple platforms - Professional README with feature highlights - GitHub Actions CI/CD workflows - Comprehensive API documentation - Security audit roadmap and compliance framework - Setup scripts for development environment 🧪 Testing & Quality: - Comprehensive test suite with 20+ test modules - Setup verification scripts - Working development environment with both backend and frontend - Health checks and monitoring systems 🌟 Ready for: - Portfolio showcasing - Community contributions - Production deployment - Professional presentation
25 lines
539 B
Docker
25 lines
539 B
Docker
FROM node:20-alpine as build
|
|
WORKDIR /app
|
|
COPY modern/frontend/package.json /app/package.json
|
|
COPY modern/frontend/package-lock.json /app/package-lock.json
|
|
RUN npm ci
|
|
COPY modern/frontend /app
|
|
RUN npm run build
|
|
|
|
FROM node:20-alpine
|
|
|
|
# Create non-root user for security
|
|
RUN addgroup -g 1001 -S appuser && \
|
|
adduser -S appuser -u 1001 -G appuser
|
|
|
|
WORKDIR /app
|
|
|
|
COPY --from=build --chown=appuser:appuser /app/dist /app/dist
|
|
|
|
# Switch to non-root user
|
|
USER appuser
|
|
|
|
RUN npm i -g serve
|
|
EXPOSE 5173
|
|
CMD ["serve", "-s", "dist", "-l", "5173"]
|