Commit Graph

124 Commits

Author SHA1 Message Date
Ho Ngoc Hai
4e595d0746 feat(docs): Remove outdated service templates and enhance Vietnamese architecture documentation
- Deleted obsolete service architecture templates in both English and Vietnamese to streamline content.
- Updated the Vietnamese architecture documentation with improved Mermaid diagrams for better visual clarity.
- Enhanced color coding in diagrams to improve readability and consistency across documentation.
- Added a new section detailing visual indicators for better understanding of architecture components.
2026-01-10 21:00:02 +07:00
Ho Ngoc Hai
b89e07f4cb feat(docs): Update Mermaid diagrams and enhance Vietnamese architecture documentation
- Changed the Mermaid theme from 'default' to 'base' for improved visual consistency.
- Expanded the architecture documentation by adding new sections on caching, data consistency, and observability patterns.
- Enhanced existing diagrams with clearer color coding and class definitions for better readability.
- Removed outdated service communication documentation to streamline content.
- Included quick tips and common issues sections to assist users in navigating the documentation effectively.
2026-01-10 17:42:19 +07:00
Ho Ngoc Hai
be99b99dd3 feat(docs): Update Mermaid diagrams in Vietnamese guides for improved clarity and visual appeal
- Enhanced Mermaid diagrams in the troubleshooting and workflow sections with clearer labels and emoji for better readability.
- Standardized the formatting of flowchart elements to ensure consistency across documentation.
- Improved the overall visual representation to align with recent updates in the English version.
2026-01-10 17:02:20 +07:00
Ho Ngoc Hai
a7397b1065 feat(docs): Revise Vietnamese documentation with updated workflow steps and new sections
- Reorganized workflow steps for clarity, including renumbering and standardizing the verification process.
- Added new sections for quick tips and common issues to enhance user navigation.
- Improved formatting and structure to align with the English version, ensuring consistency across documentation.
2026-01-08 17:13:18 +07:00
Ho Ngoc Hai
9ba4a478ee feat(docs): Enhance deployment and development guides with improved clarity and structure
- Updated Mermaid diagrams in the deployment and development guides for better visual representation and consistency.
- Improved formatting and clarity in the Kubernetes local deployment and IAM migration guides, including detailed workflows and troubleshooting sections.
- Enhanced the Vietnamese documentation to align with the English version, ensuring consistency across guides.
- Added quick tips and common issues sections to facilitate user navigation and understanding.
2026-01-08 17:10:06 +07:00
Ho Ngoc Hai
70d90d36e0 refactor(docs): Remove outdated time estimates from Kubernetes and local development guides
- Eliminated time estimates from the introductory sections of the Kubernetes local deployment and local development guides for a cleaner presentation.
- Focused on enhancing the clarity and conciseness of the documentation without altering the core content.
2026-01-08 17:07:30 +07:00
Ho Ngoc Hai
51bc4c8ec0 feat(docs): Update guides with enhanced troubleshooting sections and visual clarity
- Added detailed troubleshooting tables in the IAM migration, observability, and Kubernetes local deployment guides to assist users in diagnosing common issues.
- Improved Mermaid diagrams with clearer component labels and color coding for better visualization.
- Enhanced the structure of the Vietnamese documentation to align with the English version, ensuring consistency across guides.
- Included quick tips and common issues sections to facilitate user navigation and understanding.
2026-01-08 17:01:14 +07:00
Ho Ngoc Hai
b441a7757a feat(docs): Enhance Vietnamese documentation with updated diagrams and troubleshooting flowcharts
- Revised the Vietnamese documentation to include clearer instructions and improved Mermaid diagrams for better visualization.
- Added detailed troubleshooting flowcharts to assist users in diagnosing issues effectively.
- Updated color palette references and visual elements in diagrams for consistency and clarity.
- Enhanced the structure of various guides, ensuring alignment between English and Vietnamese versions.
- Included quick tips and common issues sections to facilitate user navigation through the documentation.
2026-01-08 16:57:56 +07:00
Ho Ngoc Hai
2a09a6e989 feat(docs): Revise deployment and development guides with enhanced visuals and clarity
- Updated color schemes in Mermaid diagrams across deployment and development guides for improved visual distinction.
- Enhanced the structure and clarity of the migration guide, including detailed workflows and architecture comparisons.
- Added new sections for troubleshooting and observability, incorporating flowcharts and diagrams for better understanding.
- Improved formatting and consistency in both English and Vietnamese documentation to align with recent updates.
- Introduced quick tips and common issues sections to assist users in navigating the documentation effectively.
2026-01-08 16:41:02 +07:00
Ho Ngoc Hai
92d14877e5 feat(docs): Revise Vietnamese and English development guides with enhanced structure and clarity
- Updated the introductory notes in both Vietnamese and English development guides for improved clarity.
- Reorganized the workflow steps in the Vietnamese documentation to align with the English version.
- Added detailed Mermaid diagrams for better visualization of development processes and testing strategies.
- Introduced new sections for color palette references and verification checklists to enhance documentation completeness.
- Simplified headers and improved formatting for better readability across both language versions.
2026-01-08 15:57:09 +07:00
Ho Ngoc Hai
3f5d9715dc feat(docs): Enhance deployment guides with improved formatting and visual elements
- Updated the introductory notes in both English and Vietnamese deployment guides for clarity.
- Changed subgraph titles in Mermaid diagrams for consistency and improved readability.
- Added color styling to Mermaid diagram elements for better visual distinction.
2026-01-08 15:45:18 +07:00
Ho Ngoc Hai
510e2306cd feat(docs): Update getting started and local development guides with new prerequisites and improved flow
- Enhanced Node.js and PNPM version recommendations in the getting started guide.
- Added a color palette section with Mermaid diagrams for better visual representation.
- Improved the workflow steps in the local development guide for clarity and consistency.
- Updated Vietnamese documentation to reflect changes in the English version.
- Refactored database migration and seeding scripts for better error handling and user feedback.
2026-01-08 15:37:25 +07:00
Ho Ngoc Hai
489adbd314 fix(docs): Update documentation error messages and enhance search dependencies
- Changed the error message in DocsContentClient to use HTML entities for quotes.
- Updated the dependency array in DocsSearch to include docsNavigation for improved memoization.
2026-01-08 15:17:25 +07:00
Ho Ngoc Hai
07e97449f2 feat(docs): Implement custom item ordering in documentation navigation
- Added ITEM_ORDER constant to define custom sorting for specific items within categories.
- Updated the sorting logic in generateDocsNavigation to prioritize custom order before alphabetical sorting.
- Enhanced comments for clarity in both English and Vietnamese regarding the sorting process.
2026-01-08 15:10:55 +07:00
Ho Ngoc Hai
11169246ac feat(docs): Add gray-matter package and update documentation components
- Introduced `gray-matter` for frontmatter parsing in markdown files.
- Refactored documentation components to utilize new constants and improve slug handling.
- Enhanced language switcher functionality to maintain pathnames during locale changes.
- Updated navigation and search components to support dynamic content loading and improved user experience.
- Revised documentation text to reflect the new branding from Quaros to Goodgo.
2026-01-08 15:09:17 +07:00
Ho Ngoc Hai
866034d07a Remove outdated Mermaid guide images and update Node version in .nvmrc 2026-01-08 14:53:34 +07:00
Ho Ngoc Hai
dfcb0b016f Update MDX Components 2026-01-08 10:29:57 +07:00
Ho Ngoc Hai
41232909d3 Add Mermaid 2026-01-08 10:28:30 +07:00
Ho Ngoc Hai
9884947953 Refactor TOC to use rehype-slug
- Rename package to `goodgo-docs`
- Add `rehype-slug` for automatic heading ID generation
- Simplify TableOfContents component by removing manual ID logic
2026-01-08 10:19:26 +07:00
Ho Ngoc Hai
4ccfb220be . 2026-01-08 10:13:36 +07:00
Ho Ngoc Hai
b35cf4a947 web-docs 2026-01-08 09:27:58 +07:00
Ho Ngoc Hai
95a1754e97 feat(docs): Bổ sung các sơ đồ Mermaid mới, giải thích chi tiết và cập nhật kiểu dáng trong hướng dẫn. 2026-01-08 00:21:46 +07:00
Ho Ngoc Hai
3f83ee6566 feat: thêm hướng dẫn sử dụng sơ đồ Mermaid bằng tiếng Việt và tiếng Anh, bao gồm các loại sơ đồ như Flowchart, Sequence, Class, Graph và ER. 2026-01-07 23:02:20 +07:00
Ho Ngoc Hai
5925b9c067 docs: Cập nhật ví dụ biểu đồ Mermaid với bảng màu mới và chuẩn hóa các tiêu đề mục tiếng Việt. 2026-01-07 22:47:19 +07:00
Ho Ngoc Hai
03c76fecb5 feat: Thay thế Auth Service bằng IAM Service trong tài liệu OpenAPI và cập nhật hướng dẫn triển khai Kubernetes. 2026-01-07 22:23:20 +07:00
Ho Ngoc Hai
156fdd00e8 feat: Thêm bước build các gói chia sẻ vào các workflow CI. 2026-01-07 18:20:30 +07:00
Ho Ngoc Hai
808ab54d31 refactor: Cập nhật cấu hình PrismaClient trong môi trường kiểm thử để sử dụng biến môi trường DATABASE_URL. 2026-01-07 18:18:16 +07:00
Ho Ngoc Hai
2b64101adb refactor: Sắp xếp lại các import và đơn giản hóa khối catch trong health controller. 2026-01-07 18:17:14 +07:00
Ho Ngoc Hai
a7d2362b2f refactor: cập nhật cấu hình ESLint, TypeScript để bao gồm tệp kiểm thử và chuẩn hóa cách sắp xếp import, ghi log. 2026-01-07 18:15:00 +07:00
Ho Ngoc Hai
eca4b84249 feat!: migrate all packages to ES modules
BREAKING CHANGE: All shared packages now export ES modules instead of CommonJS

- Changed TypeScript compilation target from commonjs to ES2020
- Updated packages/config/tsconfig/node.json module format
- Updated packages/types/tsconfig.json with moduleResolution
- All packages (@goodgo/types, @goodgo/http-client, @goodgo/logger,
  @goodgo/auth-sdk, @goodgo/tracing) now output ES modules
- Updated README.md and README.vi.md with migration guide

Migration required:
- Replace any require() statements with import
- Clean and rebuild packages after pulling changes

Closes: Module format mismatch errors in Next.js build
2026-01-07 18:02:05 +07:00
Ho Ngoc Hai
945d35c751 feat: Cập nhật cấu hình TypeScript để sử dụng module ES2020 và thêm tùy chọn moduleResolution cho gói types. 2026-01-07 17:59:06 +07:00
Ho Ngoc Hai
1832191680 chore: Loại trừ @goodgo/service-template khỏi script kiểm tra kiểu (typecheck) đệ quy. 2026-01-07 17:55:50 +07:00
Ho Ngoc Hai
b5f97e2012 feat: Cấu hình ESLint flat config mới, thêm jsconfig.json, và sắp xếp lại các import tự động. 2026-01-07 17:48:49 +07:00
Ho Ngoc Hai
471508baa4 feat: Xóa ứng dụng web-admin và cập nhật các controller, DTO, cấu hình dịch vụ cùng các dependency của gói. 2026-01-07 17:28:23 +07:00
Ho Ngoc Hai
935c253c7e feat: upgrade Phase 1 dependencies to latest versions
- Upgrade TypeScript 5.3.3 → 5.9.3
- Upgrade @types/node to 25.0.3 (all workspaces)
- Upgrade Prisma 5.22.0 → 7.2.0 (BREAKING)
- Upgrade @prisma/client 5.9.1 → 7.2.0 (BREAKING)

BREAKING CHANGES:
- Prisma 7 requires prisma.config.ts instead of url in datasource
- Migrated to Neon adapter with @neondatabase/serverless
- Added @prisma/adapter-neon for Prisma 7 compatibility
- Removed url property from schema.prisma datasource blocks
- Created prisma.config.ts for iam-service and _template

All services tested and typecheck passes
2026-01-07 17:20:34 +07:00
Ho Ngoc Hai
200bf0b8fd chore: Cập nhật các phụ thuộc như TypeScript, Node.js types, Prisma và thông tin về thương hiệu, người duy trì trên toàn dự án. 2026-01-07 17:18:36 +07:00
Ho Ngoc Hai
63f5b10fe2 chore: upgrade to Node.js 25.2.1
- Update .nvmrc to Node 25
- Update all Dockerfiles to use node:25-alpine
- Update package.json engines to >=25.0.0
- Update CI/CD workflows for Node 25
- Update @types/node in packages
- Fix ESLint config to use ES module syntax
- Update OpenTelemetry imports for compatibility

All services tested and working with Node.js 25.2.1
2026-01-07 17:15:25 +07:00
Ho Ngoc Hai
9c74b86837 feat: Bổ sung hỗ trợ song ngữ (EN/VI) và chuẩn hóa cấu trúc cho các mẫu tài liệu. 2026-01-07 10:27:47 +07:00
Ho Ngoc Hai
495618ded7 docs: Thêm tài liệu kiến trúc bảo mật, hướng sự kiện, nhất quán dữ liệu, khả năng quan sát và caching bằng tiếng Việt, đồng thời cập nhật các tài liệu hướng dẫn và kiến trúc hiện có. 2026-01-07 10:22:42 +07:00
Ho Ngoc Hai
d8faffd41d docs: Thêm tài liệu mô tả các patterns và protocols giao tiếp microservices, bao gồm API Gateway, Service Discovery, hiệu suất và bảo mật. 2026-01-07 09:27:58 +07:00
Ho Ngoc Hai
7217c48253 feat: Bổ sung tài liệu kiến trúc, các mẫu hướng dẫn và phân tích, cùng với hướng dẫn Mermaid song ngữ. 2026-01-07 09:21:19 +07:00
Ho Ngoc Hai
4f48eadea8 docs: Nâng cấp hướng dẫn triển khai Kubernetes cục bộ với sơ đồ quy trình, hướng dẫn chi tiết và chú thích song ngữ. 2026-01-05 19:15:09 +07:00
Ho Ngoc Hai
d8d013ed2e feat: Xóa bỏ file test.sql không còn cần thiết. 2026-01-05 18:55:56 +07:00
Ho Ngoc Hai
5c7c6cc999 feat: Thêm trang Mood Board mới và cập nhật giao diện người dùng, đồng thời loại bỏ các script cũ. 2026-01-05 18:51:49 +07:00
Ho Ngoc Hai
3998bc5049 feat: giới thiệu component AuthCard để chuẩn hóa giao diện trang xác thực và cập nhật biến thể nút. 2026-01-05 12:21:30 +07:00
Ho Ngoc Hai
dfa045e06c refactor: Cập nhật các thành phần UI để sử dụng các lớp Tailwind CSS ngữ nghĩa cho việc tạo chủ đề tốt hơn và xóa tài liệu thiết kế. 2026-01-05 11:01:49 +07:00
Ho Ngoc Hai
ffebc9399d feat: triển khai các cải tiến giao diện người dùng và bổ sung tài liệu báo cáo hoàn thiện theme. 2026-01-05 10:27:49 +07:00
Ho Ngoc Hai
e785d64a6e docs: Thêm báo cáo trạng thái triển khai xác thực và điều chỉnh hiệu ứng kính trong CSS. 2026-01-05 10:19:19 +07:00
Ho Ngoc Hai
b0df44f3ea refactor: di chuyển các trường nhập liệu sang sử dụng Controller của React Hook Form. 2026-01-05 10:03:42 +07:00
Ho Ngoc Hai
29de865509 refactor: Cập nhật các trường nhập liệu form để sử dụng React Hook Form Controller và sửa lỗi không khớp hydration của nút chuyển đổi chủ đề. 2026-01-05 09:58:56 +07:00