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, }));