2 Commits

Author SHA1 Message Date
Andrei
d7d6732475 feat: Implement Legal Pages CMS admin UI with markdown editor
Some checks failed
ParentFlow CI/CD Pipeline / Backend Tests (push) Has been cancelled
ParentFlow CI/CD Pipeline / Frontend Tests (push) Has been cancelled
ParentFlow CI/CD Pipeline / Security Scanning (push) Has been cancelled
ParentFlow CI/CD Pipeline / Build Docker Images (map[context:maternal-app/maternal-app-backend dockerfile:Dockerfile.production name:backend]) (push) Has been cancelled
ParentFlow CI/CD Pipeline / Build Docker Images (map[context:maternal-web dockerfile:Dockerfile.production name:frontend]) (push) Has been cancelled
ParentFlow CI/CD Pipeline / Deploy to Development (push) Has been cancelled
ParentFlow CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled
Add comprehensive admin interface for legal pages management:
- List page with filters (language, publish status)
- Markdown editor with live preview (SimpleMDE + react-markdown)
- Create/Edit/Delete operations
- Publish/Unpublish toggle
- Version history support (UI ready)
- Multi-language support (en, es, fr, pt, zh)
- Auto-slug generation from title
- Navigation menu integration with Gavel icon

Installed packages:
- react-markdown (markdown rendering)
- remark-gfm (GitHub Flavored Markdown)
- react-simplemde-editor (markdown editor)
- easymde (editor styles)

Pages created:
- /legal-pages - List view with filters
- /legal-pages/new - Create new legal page
- /legal-pages/[id]/edit - Edit existing page with live preview

Features:
 Split-view markdown editor with live preview
 Auto-slug generation from title
 Language selector (5 languages)
 Publish/draft toggle
 Responsive design
 Real-time preview with GFM support
 Navigation integration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-08 22:17:39 +00:00
4e19b992df feat: Complete production deployment pipeline with admin dashboard
Some checks failed
ParentFlow CI/CD Pipeline / Backend Tests (push) Has been cancelled
ParentFlow CI/CD Pipeline / Frontend Tests (push) Has been cancelled
ParentFlow CI/CD Pipeline / Security Scanning (push) Has been cancelled
ParentFlow CI/CD Pipeline / Build Docker Images (map[context:maternal-app/maternal-app-backend dockerfile:Dockerfile.production name:backend]) (push) Has been cancelled
ParentFlow CI/CD Pipeline / Build Docker Images (map[context:maternal-web dockerfile:Dockerfile.production name:frontend]) (push) Has been cancelled
ParentFlow CI/CD Pipeline / Deploy to Development (push) Has been cancelled
ParentFlow CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled
- Add unified deployment script with Node.js 22 installation
- Create comprehensive database migration script (28 migrations + admin tables)
- Add production start/stop scripts for all services
- Integrate admin dashboard (parentflow-admin) into PM2 ecosystem
- Configure all services: Backend (3020), Frontend (3030), Admin (3335)
- Update ecosystem.config.js with admin dashboard configuration
- Add invite codes module for user registration management
2025-10-06 22:43:28 +00:00