Monorepo pnpm avec NestJS backend en architecture hexagonale. - Structure hexagonale complète (ports, adapters, domain entities) - 9 entities TypeORM (Home, User, Device, Credentials, Session, Message, Memory, Timer) - Migration initiale SQL avec pgvector support - Docker Compose (PostgreSQL 16 + pgvector + Redis 7) - Config partagée (tsconfig, ESLint, Prettier) - Outbound ports définis (STT, TTS, LLM, Cache, Storage, VectorStore) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 lines
252 B
TypeScript
8 lines
252 B
TypeScript
import { registerAs } from '@nestjs/config';
|
|
|
|
export const appConfig = registerAs('app', () => ({
|
|
port: parseInt(process.env.PORT || '3000', 10),
|
|
environment: process.env.NODE_ENV || 'development',
|
|
encryptionKey: process.env.ENCRYPTION_KEY,
|
|
}));
|