MCPcopy Index your code
hub / github.com/Rocketseat/backend-template

github.com/Rocketseat/backend-template @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
141 symbols 263 edges 50 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Back-end template

Back-end template used when creating new applications.

Docs: https://outline.rocketseat.dev/share/1c1b9421-1958-48b0-a797-91f78720b026

Extension points exported contracts — how you extend this code

DomainError (Interface)
(no doc) [2 implementers]
src/core/domain/errors/DomainError.ts
PaginatedType (Interface)
(no doc)
src/infra/http/graphql/common/dto/models/paginated.ts
PaginatedResult (Interface)
(no doc)
src/core/dto/paginated-result.ts

Core symbols most depended-on inside this repo

handle
called by 4
src/application/use-cases/user/get-user-by-email.use-case.ts
create
called by 3
src/infra/database/prisma/repositories/prisma-users-repository.ts
isLeft
called by 3
src/core/logic/Either.ts
left
called by 3
src/core/logic/Either.ts
makeFakeUser
called by 2
test/factories/users.factory.ts
create
called by 2
test/repositories/in-memory-users.repository.ts
getRequest
called by 2
src/infra/http/auth/jwt-auth-guard.ts
toGraphQL
called by 2
src/infra/http/graphql/view-models/user.view-model.ts

Shape

Class 63
Method 47
Function 28
Interface 3

Languages

TypeScript100%

Modules by API surface

src/core/domain/WatchedList.ts16 symbols
src/core/logic/Either.ts12 symbols
src/infra/http/graphql/complexity-plugin.ts6 symbols
src/infra/database/prisma/prisma.service.ts6 symbols
src/domain/value-objects/email.ts6 symbols
test/factories/users.factory.ts5 symbols
src/infra/http/auth/jwt-auth-guard.ts5 symbols
src/infra/database/prisma/repositories/prisma-users-repository.ts5 symbols
src/domain/entities/user.entity.ts5 symbols
prisma/prisma-test-environment.ts5 symbols
test/repositories/in-memory-users.repository.ts4 symbols
src/infra/logger/logger.module.ts4 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add backend-template \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact