import { Module } from '@nestjs/common'
import { AppController } from './app.controller'
import { TypeOrmModule } from '@nestjs/typeorm'
import { Connection } from 'typeorm'
import { JsonModule } from './json/json.module'
@Module({
imports: [
TypeOrmModule.forRoot(),
JsonModule
],
controllers: [
AppController
],
providers: []
})
export class ApplicationModule {
constructor(private readonly connection: Connection) {}
}