API đang hoạt động

Hệ Thống Thiết Kế Và Xây Dựng Thông Minh

Giải pháp toàn diện cho dự án thiết kế kiến trúc và xây dựng công trình

47+
Database Models
200+
API Endpoints
10+
Core Modules
99.9%
Uptime

Tính Năng Nổi Bật

AI Construction Assistant

  • Phân tích tiến độ tự động
  • Báo cáo ngày/tuần AI-generated
  • Phát hiện lỗi thông minh
  • Kiểm tra vật tư AI
  • Chat với AI về dự án

Timeline Builder (Gantt)

  • Timeline phases có thứ tự
  • Drag & drop phases
  • Theo dõi tiến độ real-time
  • Progress updates với media
  • Thông báo tự động

QA/QC Module

  • Checklists theo hạng mục
  • Inspections với media
  • Bug tracking system
  • QC documents & reports
  • Nghiệm thu công trình

Contract & Payment

  • Báo giá & hợp đồng
  • Digital signature
  • Lịch thanh toán theo đợt
  • Payment gateway tích hợp
  • Cost tracking

Communication

  • Real-time chat
  • Video call rooms
  • File sharing
  • Comments & notifications
  • Daily reports

Dashboard & Analytics

  • Dashboard theo role
  • Thống kê dự án
  • Attendance tracking
  • Revenue reports
  • KPI metrics

Technology Stack

Node.js 20.x NestJS 11.x PostgreSQL 14 Prisma ORM 5.22 TypeScript 5.7 JWT Auth WebSocket Stripe OpenAI GPT-4 PM2 Nginx SSL/HTTPS

API Endpoints

Một số endpoints chính (xem đầy đủ tại Swagger Docs)

Authentication

POST /api/auth/register
POST /api/auth/login
POST /api/auth/refresh

Projects

GET /api/projects
POST /api/projects
PUT /api/projects/:id

AI Assistant

POST /api/ai/analyze-progress
POST /api/ai/generate-daily-report
POST /api/ai/chat

Quality Control

POST /api/qc/inspections
GET /api/qc/bugs
PATCH /api/qc/bugs/:id

Timeline

GET /api/timeline/phases
POST /api/timeline/phases
PATCH /api/timeline/phases/:id/progress

Contracts

POST /api/contract/quotations
POST /api/contract/contracts
POST /api/contract/sign/:id

Tài Liệu Kỹ Thuật

Database Schema

47
Models
200+
Fields
100+
Relations
9
Enums

Core Models:

User Project Task Timeline Contract Payment QCInspection AIAnalysis ChatRoom

Quick Start

1. Authentication

POST /api/auth/login
Content-Type: application/json

{
  "email": "user@example.com",
  "password": "password123"
}

Response:
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "refreshToken": "...",
  "user": { ... }
}

2. Create Project

POST /api/projects
Authorization: Bearer {accessToken}
Content-Type: application/json

{
  "title": "Xây dựng nhà phố 3 tầng",
  "description": "Dự án xây nhà tại TP.HCM",
  "budget": 2500000000,
  "startDate": "2025-01-01",
  "endDate": "2025-06-30",
  "clientId": 1,
  "engineerId": 2
}

3. AI Analysis

POST /api/ai/analyze-progress
Authorization: Bearer {accessToken}
Content-Type: application/json

{
  "projectId": 1,
  "phaseId": 5,
  "imageUrls": ["https://...construction-photo.jpg"],
  "drawingUrls": ["https://...blueprint.pdf"]
}