Created Service, Module and Controller for Formular and Field
This commit is contained in:
@@ -6,6 +6,11 @@ import { MercuriusDriver, MercuriusDriverConfig } from '@nestjs/mercurius';
|
||||
import { EventsModule } from './events/events.module';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { EventEntity } from './events/events.entity';
|
||||
import { FormularController } from './formular/formular.controller';
|
||||
import { FormularService } from './formular/formular.service';
|
||||
import { FieldsService } from './fields/fields.service';
|
||||
import { FormularModule } from './formular/formular.module';
|
||||
import { FieldsModule } from './fields/fields.module';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -25,11 +30,13 @@ import { EventEntity } from './events/events.entity';
|
||||
synchronize: true,
|
||||
entities: [EventEntity]
|
||||
}),
|
||||
FormularModule,
|
||||
FieldsModule,
|
||||
|
||||
|
||||
],
|
||||
controllers: [AppController],
|
||||
providers: [AppService, AppController],
|
||||
controllers: [AppController, FormularController],
|
||||
providers: [AppService, AppController, FormularService, FieldsService],
|
||||
|
||||
})
|
||||
export class AppModule {}
|
||||
|
||||
Reference in New Issue
Block a user