MCPcopy Create free account

hub / github.com/danielm/fastify-prisma-swagger-rest-boilerplate / functions

Functions16 in github.com/danielm/fastify-prisma-swagger-rest-boilerplate

↓ 2 callersFunctionexitHandler
(app: FastifyInstance, exitCode: number)
src/lib/exit-handler.ts:6
↓ 2 callersFunctiongracefullyShutdown
(app: FastifyInstance)
src/lib/exit-handler.ts:24
↓ 2 callersFunctionunexpectedErrorHandler
(app: FastifyInstance, error: any)
src/lib/exit-handler.ts:16
↓ 1 callersFunctiongetConfig
()
src/config/logger.config.ts:17
↓ 1 callersFunctionmain
()
src/app.ts:23
↓ 1 callersFunctionmain
()
prisma/seed.ts:6
FunctioncreateCategory
(request: FastifyRequest<PostCategory>, reply: FastifyReply)
src/controllers/categories.controller.ts:44
FunctioncreateProduct
(request: FastifyRequest<PostProduct>, reply: FastifyReply)
src/controllers/products.controller.ts:46
FunctiondeleteCategory
(request: FastifyRequest<CrudIdRequest>, reply: FastifyReply)
src/controllers/categories.controller.ts:34
FunctiondeleteProduct
(request: FastifyRequest<CrudIdRequest>, reply: FastifyReply)
src/controllers/products.controller.ts:36
FunctiongetCategories
(request: FastifyRequest<CrudAllRequest>, reply: FastifyReply)
src/controllers/categories.controller.ts:3
FunctiongetCategory
(request: FastifyRequest<CrudIdRequest>, reply: FastifyReply)
src/controllers/categories.controller.ts:20
FunctiongetProduct
(request: FastifyRequest<CrudIdRequest>, reply: FastifyReply)
src/controllers/products.controller.ts:21
FunctiongetProducts
(request: FastifyRequest<CrudAllRequest>, reply: FastifyReply)
src/controllers/products.controller.ts:3
FunctionupdateCategory
(request: FastifyRequest<PutCategory>, reply: FastifyReply)
src/controllers/categories.controller.ts:56
FunctionupdateProduct
(request: FastifyRequest<PutProduct>, reply: FastifyReply)
src/controllers/products.controller.ts:65