Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahmetuysal/nest-hackathon-starter
/ functions
Functions
50 in github.com/ahmetuysal/nest-hackathon-starter
⨍
Functions
50
◇
Types & classes
51
↓ 2 callers
Method
fromUserEntity
(entity: User)
src/user/models/user.response.ts:20
↓ 2 callers
Method
getUserEntityById
(id: number)
src/user/user.service.ts:10
↓ 2 callers
Method
getUserEntityByUsername
( username: string, )
src/user/user.service.ts:16
↓ 2 callers
Method
isEmailAvailable
(email: string)
src/auth/auth.service.ts:324
↓ 2 callers
Function
mockUser
(fields?: Partial<AuthUser>)
test/utils/mock-user.ts:3
↓ 2 callers
Method
sendVerifyEmailMail
( name: string, email: string, token: string, )
src/mail-sender/mail-sender.service.ts:39
↓ 1 callers
Function
bootstrap
()
src/main.ts:8
↓ 1 callers
Method
isUsernameAvailable
(username: string)
src/auth/auth.service.ts:316
↓ 1 callers
Method
sendPasswordChangeInfoMail
( name: string, email: string, )
src/mail-sender/mail-sender.service.ts:157
↓ 1 callers
Method
sendResetPasswordMail
(email: string)
src/auth/auth.service.ts:179
↓ 1 callers
Method
validateUser
(payload: JwtPayload)
src/auth/auth.service.ts:264
↓ 1 callers
Method
verifyEmail
(token: string)
src/auth/auth.service.ts:99
Method
changeEmail
(token: string)
src/auth/auth.service.ts:160
Method
changeEmail
(@Query('token') token: string)
src/auth/auth.controller.ts:102
Method
changePassword
( changePasswordRequest: ChangePasswordRequest, userId: number, name: string, email: string,
src/auth/auth.service.ts:244
Method
changePassword
( @Body() changePasswordRequest: ChangePasswordRequest, @Usr() user: AuthUser, )
src/auth/auth.controller.ts:115
Method
checkEmailAvailability
( @Body() checkEmailRequest: CheckEmailRequest, )
src/auth/auth.controller.ts:49
Method
checkUsernameAvailability
( @Body() checkUsernameRequest: CheckUsernameRequest, )
src/auth/auth.controller.ts:38
Method
constructor
( private readonly prisma: PrismaService, private readonly userService: UserService, private reado
src/auth/auth.service.ts:27
Method
constructor
(private readonly authService: AuthService)
src/auth/jwt.strategy.ts:11
Method
constructor
(private readonly authService: AuthService)
src/auth/auth.controller.ts:34
Method
constructor
(isUsernameAvailable: boolean)
src/auth/models/response/check-username.response.ts:4
Method
constructor
(token: string)
src/auth/models/response/login.response.ts:4
Method
constructor
(isEmailAvailable: boolean)
src/auth/models/response/check-email.response.ts:4
Method
constructor
(private readonly userService: UserService)
src/user/user.controller.ts:22
Method
constructor
(private readonly prisma: PrismaService)
src/user/user.service.ts:8
Method
constructor
()
src/common/services/prisma.service.ts:9
Method
constructor
()
src/mail-sender/mail-sender.service.ts:21
Method
getTracker
(req: Record<string, unknown>)
src/common/guards/throttler-behind-proxy.guard.ts:7
Method
getUserWithToken
(@Usr() user: AuthUser)
src/auth/auth.controller.ts:74
Method
healthCheck
()
src/app.controller.ts:10
Method
login
(loginRequest: LoginRequest)
src/auth/auth.service.ts:279
Method
login
(@Body() loginRequest: LoginRequest)
src/auth/auth.controller.ts:66
Method
onModuleDestroy
()
src/common/services/prisma.service.ts:19
Method
onModuleInit
()
src/common/services/prisma.service.ts:15
Method
resendVerificationMail
( name: string, email: string, userId: number, )
src/auth/auth.service.ts:70
Method
resendVerificationMail
(@Usr() user: AuthUser)
src/auth/auth.controller.ts:138
Method
resetPassword
( resetPasswordRequest: ResetPasswordRequest, )
src/auth/auth.service.ts:221
Method
resetPassword
( @Body() resetPasswordRequest: ResetPasswordRequest, )
src/auth/auth.controller.ts:129
Method
sendChangeEmailMail
( changeEmailRequest: ChangeEmailRequest, userId: number, name: string, oldEmail: string, )
src/auth/auth.service.ts:121
Method
sendChangeEmailMail
( @Usr() user: AuthUser, @Body() changeEmailRequest: ChangeEmailRequest, )
src/auth/auth.controller.ts:88
Method
sendChangeEmailMail
( name: string, email: string, token: string, )
src/mail-sender/mail-sender.service.ts:81
Method
sendResetPassword
(@Param('email') email: string)
src/auth/auth.controller.ts:108
Method
sendResetPasswordMail
( name: string, email: string, token: string, )
src/mail-sender/mail-sender.service.ts:119
Method
signup
(signupRequest: SignupRequest)
src/auth/auth.service.ts:34
Method
signup
(@Body() signupRequest: SignupRequest)
src/auth/auth.controller.ts:60
Method
updateUser
( @Param('id', ParseIntPipe) id: number, @Body() updateRequest: UpdateUserRequest, @Usr() user: Au
src/user/user.controller.ts:28
Method
updateUser
( userId: number, updateRequest: UpdateUserRequest, )
src/user/user.service.ts:25
Method
validate
(payload: JwtPayload)
src/auth/jwt.strategy.ts:19
Method
verifyMail
(@Query('token') token: string)
src/auth/auth.controller.ts:80