import { Injectable } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
@Injectable()
export class configService {
constructor(private configService: ConfigService) {
const dbUrl = this.configService.get<string>('DATABASE_URL');
console.log(`Database URL: ${dbUrl}`);
}
}