Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CatsMiaow/nestjs-project-structure
/ functions
Functions
117 in github.com/CatsMiaow/nestjs-project-structure
⨍
Functions
117
◇
Types & classes
113
↓ 23 callers
Method
get
(path: P)
src/common/providers/config.service.ts:8
↓ 8 callers
Method
create
(data: Partial<Sampletable1>)
src/sample/providers/crud.service.ts:14
↓ 5 callers
Method
use
(req: Request, _res: Response, next: () => void)
src/common/middleware/logger-context.middleware.ts:18
↓ 4 callers
Function
DebugLog
(context?: string)
src/debug/debug-log.decorator.ts:76
↓ 4 callers
Method
find
(args: SimpleArgs)
src/gql/providers/simple.service.ts:36
↓ 4 callers
Method
forRoot
(options: typeof OPTIONS_TYPE)
src/debug/debug.module.ts:9
↓ 4 callers
Method
log
()
src/debug/sample/simple-log.controller.ts:11
↓ 3 callers
Method
getRequest
(context: ExecutionContext)
src/auth/guards/jwt-auth.guard.ts:8
↓ 2 callers
Function
MethodLog
(context?: string)
src/debug/debug-log.decorator.ts:9
↓ 2 callers
Function
Roles
(...roles: string[])
src/common/decorators/roles.decorator.ts:3
↓ 2 callers
Method
jwtSign
(data: Payload)
src/auth/auth.service.ts:37
↓ 2 callers
Function
log
(time: number, args: unknown[])
src/debug/debug-log.decorator.ts:16
↓ 2 callers
Function
middleware
(app: INestApplication)
src/app.middleware.ts:7
↓ 2 callers
Method
template
(templateData: TemplateStringsArray, param: TemplateParameter, delimiter = '\n')
src/common/providers/util.service.ts:8
↓ 1 callers
Function
ClassLog
(context?: string)
src/debug/debug-log.decorator.ts:51
↓ 1 callers
Function
Debug
(options?: string | DebugOptions)
src/debug/debug.decorator.ts:6
↓ 1 callers
Function
LogController
({ context, ...options }: ControllerOptions & { context?: string })
src/debug/sample/log-controller.decorator.ts:6
↓ 1 callers
Function
Public
()
src/common/decorators/public.decorator.ts:3
↓ 1 callers
Method
addExcludeOption
()
src/debug/debug.explorer.ts:40
↓ 1 callers
Method
applyDecorator
(metatype: Metatype, metadata: DebugOptions)
src/debug/debug.explorer.ts:50
↓ 1 callers
Function
bootstrap
* https://docs.nestjs.com/recipes/swagger
src/swagger.ts:10
↓ 1 callers
Function
bootstrap
* https://docs.nestjs.com * https://github.com/nestjs/nest/tree/master/sample * https://github.com/nestjs/nest/issues/2249#issuecomment-494734673
src/app.ts:14
↓ 1 callers
Function
bootstrap
* https://docs.nestjs.com/recipes/repl
src/repl.ts:9
↓ 1 callers
Method
catch
(exception: unknown, host: ArgumentsHost)
src/common/filters/exceptions.filter.ts:9
↓ 1 callers
Function
configuration
()
src/config/configuration.ts:22
↓ 1 callers
Method
create
(@Body() body: CreateDto)
src/sample/controllers/crud.controller.ts:36
↓ 1 callers
Method
fetch
(username: string)
src/shared/user/user.service.ts:7
↓ 1 callers
Method
format
(value: string)
src/sample/providers/date.service.ts:2
↓ 1 callers
Method
getFoobars
()
src/shared/foobar/foobar.service.ts:14
↓ 1 callers
Method
getHttpStatus
(exception: unknown)
src/common/filters/exceptions.filter.ts:37
↓ 1 callers
Method
getPayload
(token: string)
src/auth/auth.service.ts:46
↓ 1 callers
Method
getRefreshToken
(sub: string)
src/auth/auth.service.ts:60
↓ 1 callers
Method
getRequest
(context: ExecutionContext)
src/auth/guards/authenticated.guard.ts:21
↓ 1 callers
Function
ormconfig
()
bin/ormconfig.ts:12
↓ 1 callers
Method
read
(@Param('id', ParseIntPipe) id: number)
src/sample/controllers/crud.controller.ts:26
↓ 1 callers
Method
read
(id: number)
src/sample/providers/crud.service.ts:18
↓ 1 callers
Method
remove
(@Param('id', ParseIntPipe) id: number)
src/sample/controllers/crud.controller.ts:53
↓ 1 callers
Method
remove
(id: number)
src/sample/providers/crud.service.ts:26
↓ 1 callers
Method
removeUndefined
(argv: object)
src/common/providers/util.service.ts:32
↓ 1 callers
Method
sample
()
src/sample/controllers/sample.controller.ts:25
↓ 1 callers
Method
sample1
* https://typeorm.io/#/find-options
src/sample/providers/database.service.ts:43
↓ 1 callers
Method
stepChainFour
()
src/debug/sample/sample.service.ts:33
↓ 1 callers
Method
stepChainOne
()
src/debug/sample/sample.service.ts:21
↓ 1 callers
Method
stepChainThree
()
src/debug/sample/sample.service.ts:29
↓ 1 callers
Method
stepChainTwo
()
src/debug/sample/sample.service.ts:25
↓ 1 callers
Method
stepOne
(foo: string)
src/debug/sample/sample.service.ts:5
↓ 1 callers
Method
stepStart
()
src/debug/sample/sample.service.ts:17
↓ 1 callers
Method
stepThree
()
src/debug/sample/sample.service.ts:13
↓ 1 callers
Method
stepTwo
(bar: string)
src/debug/sample/sample.service.ts:9
↓ 1 callers
Method
update
(@Param('id', ParseIntPipe) id: number, @Body() body: UpdateDto)
src/sample/controllers/crud.controller.ts:46
↓ 1 callers
Method
update
(id: number, data: Partial<Sampletable1>)
src/sample/providers/crud.service.ts:22
↓ 1 callers
Method
validateRefreshToken
(data: Payload, refreshToken: string)
src/auth/auth.service.ts:28
↓ 1 callers
Method
validateUser
(username: string, password: string)
src/auth/auth.service.ts:16
Method
admin
()
src/sample/controllers/sample.controller.ts:79
Method
canActivate
(context: ExecutionContext)
src/auth/guards/local-login.guard.ts:7
Method
canActivate
(context: ExecutionContext)
src/auth/guards/authenticated.guard.ts:10
Method
canActivate
(context: ExecutionContext)
src/common/guards/roles.guard.ts:10
Method
check
()
src/base/controllers/health.controller.ts:27
Method
check
(@ReqUser() user: Payload)
src/base/controllers/auth.controller.ts:43
Method
configure
(consumer: MiddlewareConsumer)
src/common/common.module.ts:15
Method
constructor
( private jwt: JwtService, private user: UserService, private config: ConfigService, )
src/auth/auth.service.ts:10
Method
constructor
(config: ConfigService)
src/auth/strategies/jwt-verify.strategy.ts:10
Method
constructor
(config: ConfigService)
src/auth/strategies/jwt.strategy.ts:10
Method
constructor
(private auth: AuthService)
src/auth/strategies/local.strategy.ts:10
Method
constructor
(private reflector: Reflector)
src/auth/guards/authenticated.guard.ts:8
Method
constructor
( @InjectPinoLogger(SampleController.name) private readonly logger: PinoLogger, private config: Config
src/sample/controllers/sample.controller.ts:17
Method
constructor
(private crud: CrudService)
src/sample/controllers/crud.controller.ts:23
Method
constructor
( /** * Sample1 * https://typeorm.io/#/working-with-repository * https://typeorm.io/#/repos
src/sample/providers/database.service.ts:15
Method
constructor
( @InjectRepository(Sampletable1) private table: Repository<Sampletable1>, )
src/sample/providers/crud.service.ts:9
Method
constructor
( @Inject(MODULE_OPTIONS_TOKEN) private options: DebugModuleOptions, private discoveryService: Discove
src/debug/debug.explorer.ts:16
Method
constructor
(private sample: SampleService)
src/debug/sample/sample.controller.ts:12
Method
constructor
( private health: HealthCheckService, private http: HttpHealthIndicator, private db: TypeOrmHealth
src/base/controllers/health.controller.ts:18
Method
constructor
(private auth: AuthService)
src/base/controllers/auth.controller.ts:21
Method
constructor
( @InjectRepository(Sampletable1) private sampletable1: Repository<Sampletable1>, )
src/shared/foobar/foobar.service.ts:9
Method
constructor
( @InjectPinoLogger(SimpleService.name) private readonly logger: PinoLogger, @InjectRepository(Samplet
src/gql/providers/simple.service.ts:13
Method
constructor
( @InjectPinoLogger(SimpleService.name) private readonly logger: PinoLogger, private simpleService: Si
src/gql/resolvers/simple.resolver.ts:13
Method
constructor
( private readonly logger: PinoLogger, private auth: AuthService, )
src/common/middleware/logger-context.middleware.ts:13
Method
constructor
(private reflector: Reflector)
src/common/guards/roles.guard.ts:8
Method
create
(data: SimpleInput)
src/gql/providers/simple.service.ts:19
Method
create
(@Args('simpleData') simpleData: SimpleInput)
src/gql/resolvers/simple.resolver.ts:28
Method
database
()
src/sample/controllers/sample.controller.ts:66
Method
deserializeUser
(data: Payload, done: (err: Error | null, user?: Payload) => void)
src/auth/auth.serializer.ts:12
Function
factory
(tsCompiler: any)
test/jest.e2e.transformer.ts:8
Method
find
(@Args() simpleArgs: SimpleArgs)
src/gql/resolvers/simple.resolver.ts:47
Method
foobars
()
src/sample/controllers/sample.controller.ts:73
Method
getRequest
(context: ExecutionContext)
src/auth/guards/jwt-verify.guard.ts:8
Method
hello
(@Req() req: Request, @Res() res: Response)
src/sample/controllers/sample.controller.ts:35
Method
helloBody
(@Body() param: SampleDto)
src/sample/controllers/sample.controller.ts:61
Method
helloNumber
(@Param('foo') foo: number, @Query('bar') bar: string, @Query('blah', ParseIntPipe) blah: number)
src/sample/controllers/sample.controller.ts:56
Method
helloParam
(@Param('name') name: string)
src/sample/controllers/sample.controller.ts:51
Method
helloQuery
(@Query('name') name: string)
src/sample/controllers/sample.controller.ts:42
Function
isObject
(value: T)
src/config/configuration.ts:6
Method
joinQuery
* https://typeorm.io/#/select-query-builder
src/sample/providers/database.service.ts:61
Method
jwtCheck
(@ReqUser() user: Payload)
src/base/controllers/auth.controller.ts:58
Method
jwtLogin
(@ReqUser() user: Payload)
src/base/controllers/auth.controller.ts:52
Method
jwtRefresh
(@ReqUser() user: Payload, @Body('refresh_token') token?: string)
src/base/controllers/auth.controller.ts:65
Method
line
(templateData: TemplateStringsArray, ...param: TemplateParameter)
src/common/providers/util.service.ts:28
Method
login
(@ReqUser() user: Payload)
src/base/controllers/auth.controller.ts:30
Method
logout
(@Req() req: Request, @Res() res: Response)
src/base/controllers/auth.controller.ts:35
Function
merge
(target: T, source: U)
src/config/configuration.ts:9
next →
1–100 of 117, ranked by callers