se añadieron los controldores para autorizacion de login

This commit is contained in:
2023-02-22 16:28:12 -06:00
parent d14e7e21d1
commit 3b87fad087
16 changed files with 1208 additions and 36 deletions
+7 -1
View File
@@ -7,6 +7,10 @@ import { EventosModule } from './eventos/eventos.module';
import { ParticipanteController } from './participante/participante.controller';
import { ParticipanteModule } from './participante/participante.module';
import { EventoParticipanteModule } from './evento-participante/evento-participante/evento-participante.module';
import { UsuarioModule } from './usuario/usuario.module';
import { AuthModule } from './auth/auth.module';
import { PassportModule } from '@nestjs/passport';
import { JwtModule } from '@nestjs/jwt';
@Module({
imports: [
@@ -23,7 +27,9 @@ import { EventoParticipanteModule } from './evento-participante/evento-participa
}),
EventosModule,
ParticipanteModule,
EventoParticipanteModule],
EventoParticipanteModule,
UsuarioModule,
AuthModule, PassportModule, JwtModule.register({})],
controllers: [AppController, ParticipanteController],
providers: [AppService],
})