import { registerAs } from '@nestjs/config';

export default registerAs('app', () => ({
  nodeEnv: process.env.NODE_ENV || 'development',
  port: parseInt(process.env.PORT || '3012', 10),
  serviceName: process.env.SERVICE_NAME || 'blockchain-service',
}));
