diff --git a/CLAUDE.md b/CLAUDE.md index b583abb..b146cfa 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -15,8 +15,9 @@ pnpm dev # Start all apps (API :3001, Web :3000) ## Architecture - **apps/api** — NestJS backend (CQRS, DDD, clean architecture) -- **apps/web** — Next.js 14 frontend (App Router, Tailwind, Zustand) -- **libs/mcp-servers** — MCP tool server library +- **apps/web** — Next.js 15 frontend (App Router, Tailwind, Zustand) +- **libs/ai-services** — Python FastAPI AI/ML services (AVM, content moderation, NLP) +- **libs/mcp-servers** — MCP tool server library (property search, analytics, valuation) - **prisma/** — Schema, migrations, seed scripts - **e2e/** — Playwright E2E tests (API + Web projects) @@ -35,7 +36,7 @@ pnpm dev # Start all apps (API :3001, Web :3000) - **Runtime**: Node.js >= 22, pnpm 10 - **Backend**: NestJS, Prisma ORM, PostgreSQL 16 + PostGIS, Redis -- **Frontend**: Next.js 14, React 18, Tailwind CSS 3, Zustand, Mapbox GL +- **Frontend**: Next.js 15, React 18, Tailwind CSS 3, Zustand, Mapbox GL - **Testing**: Vitest (unit), Playwright (E2E) - **CI**: GitHub Actions (lint → typecheck → test → build) @@ -63,6 +64,14 @@ apps/api/src/modules/ Each module follows DDD layers: `domain/` → `application/` → `infrastructure/` → `presentation/`. +## Project Structure (Libs) + +``` +libs/ + ai-services/ — Python FastAPI AI/ML services (AVM, content moderation, NLP) + mcp-servers/ — MCP tool server library (property search, analytics, valuation) +``` + ## Database - PostgreSQL 16 with PostGIS extension for geospatial queries diff --git a/docs/audits/AUDIT_INDEX.md b/docs/audits/AUDIT_INDEX.md index 33beea5..67cd05a 100644 --- a/docs/audits/AUDIT_INDEX.md +++ b/docs/audits/AUDIT_INDEX.md @@ -33,7 +33,7 @@ ### ✅ 3. Apps/Web Frontend - **File**: COMPREHENSIVE_AUDIT_2026-04-11.md, Section 3 - **Coverage**: 28 routes across 4 layout groups, 66 components, 16,568 LOC -- **Findings**: Full Next.js 14 implementation, limited unit tests (6 only) +- **Findings**: Full Next.js 15 implementation, limited unit tests (6 only) ### ✅ 4. Prisma Database Layer - **File**: COMPREHENSIVE_AUDIT_2026-04-11.md, Section 4 @@ -115,7 +115,7 @@ Git Commits: 203 1. ✅ Mature DDD + CQRS architecture 2. ✅ 76K LOC of real implementation 3. ✅ 745+ test files (229 API, 31 E2E) -4. ✅ Modern tech stack (NestJS 11, Next.js 14, PostgreSQL 16) +4. ✅ Modern tech stack (NestJS 11, Next.js 15, PostgreSQL 16) 5. ✅ Strong DevOps (Docker, K8s, GitHub Actions) 6. ✅ Excellent documentation (89 docs + 81 audits) 7. ✅ Type-safe TypeScript (strict mode) @@ -208,7 +208,7 @@ Git Commits: 203 | Layer | Technology | Version | |-------|-----------|---------| | Backend | NestJS | 11 | -| Frontend | Next.js | 14 | +| Frontend | Next.js | 15 | | Runtime | Node.js | 22+ | | Database | PostgreSQL | 16 + PostGIS 3.4 | | Search | Typesense | 27 | diff --git a/docs/audits/AUDIT_INDEX_ROOT.md b/docs/audits/AUDIT_INDEX_ROOT.md index b12bcf1..6923e7e 100644 --- a/docs/audits/AUDIT_INDEX_ROOT.md +++ b/docs/audits/AUDIT_INDEX_ROOT.md @@ -207,7 +207,7 @@ This audit overview with: | Layer | Technology | Version | Status | |-------|-----------|---------|--------| | Backend | NestJS | 11 | ✅ Latest | -| Frontend | Next.js | 14 | ✅ LTS | +| Frontend | Next.js | 15 | ✅ Latest | | Database | PostgreSQL | 16 | ✅ Latest | | Search | Typesense | 27 | ✅ Current | | Cache | Redis | 7 | ✅ Current | diff --git a/docs/audits/FRONTEND_EXPLORATION.md b/docs/audits/FRONTEND_EXPLORATION.md index 21b3d50..8153b74 100644 --- a/docs/audits/FRONTEND_EXPLORATION.md +++ b/docs/audits/FRONTEND_EXPLORATION.md @@ -1,9 +1,9 @@ # GoodGo Platform Frontend Exploration Report -## apps/web (Next.js 14 with App Router) +## apps/web (Next.js 15 with App Router) **Date:** April 9, 2026 **Status:** Pre-i18n (No existing i18n setup detected) -**Next.js Version:** 14.2.0 | **React:** 18.3.0 +**Next.js Version:** 15.5.14 | **React:** 18.3.0 **Primary Language:** Vietnamese (vi_VN) ---