Backend:
- Multi-branch shop management: SetDefaultShop, TransferShop commands, GetMerchantShops paginated query
- Shop aggregate: IsDefault field, SetAsDefault/ClearDefault/TransferOwnership behavior methods
- 2 new domain events: ShopSetAsDefaultDomainEvent, ShopTransferredDomainEvent
Frontend:
- Revenue Dashboard (MudChart line/donut/bar, 4 KPI cards, top products table)
- Staff Performance (sortable table, color-coded completion rates, CSV export)
- Customer QR Menu page (/menu/{ShopId}, mobile-first, Vietnamese labels)
- QR Code Generator admin page (batch generate, print-all, per-table QR)
- Responsive POS layout (collapsible sidebar, slide-out order drawer, touch-friendly CSS)
- ResponsiveOrderPanel component (desktop inline / tablet drawer / mobile overlay)
Infrastructure:
- Production K8s manifests: 8 services (3 replicas, 512Mi-1Gi, HPA min3/max10), Redis with persistence
- Production ingress: api.goodgo.vn, cert-manager TLS, rate-limit middleware
- Deploy script: pre-flight checks, dry-run, single-service deploy, rollback support
- CI/CD: deploy-production.yml with environment approval, commit SHA tags
- Prometheus full scrape config (11 targets), docker-compose observability stack
- Production deployment checklist (80+ items)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
GoodGo Platform Documentation
Welcome to the GoodGo Platform documentation. This directory contains comprehensive documentation for the entire platform.
Documentation Structure
docs/
├── en/ # English documentation
│ ├── templates/ # Documentation templates (EN)
│ ├── architecture/ # System architecture and design
│ ├── guides/ # Step-by-step guides
│ └── skills/ # Development patterns and skills
└── vi/ # Vietnamese documentation
├── templates/ # Documentation templates (VI)
├── architecture/ # Kiến trúc hệ thống
├── guides/ # Hướng dẫn từng bước
└── skills/ # Patterns và kỹ thuật phát triển
Available Documentation
English (/en)
- API: OpenAPI specifications
- Architecture: System design and service communication patterns
- Guides: Development, deployment, getting started, troubleshooting
- Onboarding: New developer guide
- Runbooks: Incident response and rollback procedures
- Skills: Cursor AI skills documentation (API design, testing, security, etc.)
Vietnamese (/vi)
- API: OpenAPI specifications
- Architecture: Thiết kế hệ thống và các mẫu giao tiếp service
- Guides: Development, deployment, bắt đầu, xử lý sự cố
- Onboarding: Hướng dẫn cho developer mới
- Runbooks: Phản ứng sự cố và quy trình rollback
- Skills: Tài liệu Cursor AI skills (API design, testing, security, v.v.)
Cursor Skills
The project uses Cursor AI Skills to guide AI assistants in following project-specific patterns and standards. See the Skills Documentation for detailed information about each skill:
- API Design - RESTful API standards
- Database & Prisma - Database patterns
- Testing Patterns - Testing best practices
- Code Comments - Bilingual commenting guidelines
- Kubernetes Deployment - K8s deployment patterns
- Observability & Monitoring - Monitoring patterns
- Project Rules - Coding standards
- Security - Security best practices
- Documentation - Documentation guidelines
See Skills Index for complete list and quick reference.
Contributing
When adding new documentation:
- Choose appropriate template from
/en/templates/or/vi/templates/ - Add English version to
/endirectory - Add Vietnamese translation to
/vidirectory - Keep both versions in sync
- Update this README if adding new categories
Documentation Templates
-
English Templates:
docs/en/templates/architecture.md- Architecture documentationguide.md- Step-by-step guidesskill-pattern.md- Coding patterns and skillsREADME.md- Template usage guide
-
Vietnamese Templates:
docs/vi/templates/architecture.md- Tài liệu kiến trúcguide.md- Hướng dẫn từng bướcskill-pattern.md- Coding patterns và skillsREADME.md- Hướng dẫn sử dụng templates
When updating Cursor Skills:
- Update skill source in
.cursor/skills/{skill-name}/SKILL.md - Update documentation in
docs/en/skills/{skill-name}.mdanddocs/vi/skills/{skill-name}.md - Update skills index files if needed