feat(api): add industrial, transfer, and reports backend modules
Add three new NestJS modules following DDD/CQRS architecture: - Industrial: KCN (industrial park) management with PostGIS geo queries, Typesense search, and market statistics - Transfer: Furniture/premises transfer listings with AI-powered price estimation and depreciation modeling - Reports: Async AI report generation via BullMQ with Claude narrative service, PDF generation, and macro data integration Includes Prisma schema models, migrations, seed scripts, and app.module wiring with BullMQ Redis config. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -36,6 +36,7 @@ import {
|
||||
import bcrypt from 'bcrypt';
|
||||
import pg from 'pg';
|
||||
import { importMarketData } from '../scripts/import-market-data';
|
||||
import { seedIndustrialParks } from '../scripts/seed-industrial-parks';
|
||||
import { seedPlans } from '../scripts/seed-plans';
|
||||
import { seedPOIs } from '../scripts/seed-pois';
|
||||
|
||||
@@ -748,7 +749,11 @@ async function main() {
|
||||
await seedPOIs(prisma);
|
||||
console.log('');
|
||||
|
||||
// Phase 11 — Market Data
|
||||
// Phase 11 — Industrial Parks (KCN)
|
||||
await seedIndustrialParks();
|
||||
console.log('');
|
||||
|
||||
// Phase 12 — Market Data
|
||||
await importMarketData();
|
||||
|
||||
console.log('\n' + '━'.repeat(60));
|
||||
@@ -775,6 +780,7 @@ async function main() {
|
||||
console.log(' Saved Searches: 4');
|
||||
console.log(' Notifications: 10 + 6 prefs');
|
||||
console.log(' Audit Logs: 5');
|
||||
console.log(' Industrial: 20 parks');
|
||||
console.log(' Market Index: ~240 records');
|
||||
console.log('\n🔐 Admin Login:');
|
||||
console.log(' Phone: 0876677771');
|
||||
|
||||
Reference in New Issue
Block a user