desafio-node-06-main
package.json
840B
.env
34B
src
config
auth.ts
98B
shared
infra
http
middlwares
ensureAuthenticated.ts
816B
container
index.ts
605B
errors
JWTTokenMissingError.ts
158B
JWTInvalidTokenError.ts
155B
AppError.ts
204B
@types
express
index.d.ts
99B
database
migrations
1616682561481-statements-table.ts
1KB
1616681812086-users-table.ts
967B
index.ts
87B
routes
statements.routes.ts
1KB
users.routes.ts
300B
authentication.routes.ts
371B
userProfile.routes.ts
483B
index.ts
467B
server.ts
92B
app.ts
748B
modules
statements
repositories
IStatementsRepository.ts
643B
in-memory
InMemoryStatementsRepository.ts
2KB
StatementsRepository.ts
2KB
mappers
BalanceMap.ts
541B
useCases
getStatementOperation
GetStatementOperationError.ts
349B
GetStatementOperationUseCase.ts
1KB
IGetStatementOperationDTO.ts
90B
GetStatementOperationController.ts
603B
createStatement
CreateStatementController.ts
793B
CreateStatementError.ts
342B
CreateStatementUseCase.ts
1KB
ICreateStatementDTO.ts
164B
getBalance
GetBalanceError.ts
170B
IGetBalanceDTO.ts
83B
GetBalanceUseCase.ts
1016B
GetBalanceController.ts
549B
entities
Statement.ts
849B
users
repositories
IUsersRepository.ts
324B
in-memory
InMemoryUsersRepository.ts
691B
UsersRepository.ts
818B
mappers
ProfileMap.ts
231B
useCases
showUserProfile
ShowUserProfileUseCase.ts
523B
ShowUserProfileError.ts
175B
ShowUserProfileController.ts
555B
createUser
CreateUserUseCase.ts
808B
CreateUserError.ts
170B
CreateUserController.ts
475B
ICreateUserDTO.ts
89B
authenticateUser
IAuthenticateUserResponseDTO.ts
157B
AuthenticateUserUseCase.ts
1KB
IncorrectEmailOrPasswordError.ts
197B
AuthenticateUserController.ts
520B
entities
User.ts
629B
tsconfig.json
6KB
ormconfig.json
344B
.gitignore
13B
README.md
76B
yarn.lock
70KB
.editorconfig
228B
暂无评论