Skip to content

mohammad-taheri1/NestJs-Microservices-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 

Repository files navigation

GitHub last commit

DB Config for Typeorm

app.module.ts

@Module({
imports: [
    TypeOrmModule.forRoot({
    type: 'postgres',
    host: 'localhost',
    port: 5432,
    username: 'postgres',
    password: 'root',
    database: 'SampleDB',
    synchronize: true,
    autoLoadEntities: true,
    }),
    SampleModule,
],
controllers: [AppController],
providers: [AppService],
})

About

NestJs + ReactJs + TypeScript project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published