gobarber-backend-master
package.json
1KB
.eslintrc.json
1005B
yarn-error.log
226KB
jest.config.js
6KB
prettier.config.js
89B
src
config
upload.ts
504B
auth.ts
103B
shared
infra
typeorm
migrations
1598638688727-AddForegnKeyToAppointments.ts
702B
1598635521235-CreateUsers.ts
1KB
1598566797643-CreateAppointments.ts
1KB
1598723120233-AddAvatarFieldToUsers.ts
515B
index.ts
65B
http
routes
index.ts
456B
server.ts
887B
container
providers
MailProvider
models
IMailProvider.ts
97B
fakes
FakeMailProvider.ts
354B
StorageProvider
models
IStorageProvider.ts
132B
implementations
DiskStorageProvider.ts
727B
fakes
FakeStorageProvider.ts
494B
index.ts
296B
index.ts
880B
errors
AppErros.ts
237B
@types
express.d.ts
100B
modules
appointments
repositories
fakes
FakeAppointmentsRepository.ts
1KB
IAppointmentsRepository.ts
353B
infra
typeorm
repositories
AppointmentRepository.ts
1KB
entities
Appointment.ts
586B
http
routes
appointments.routes.ts
667B
controllers
AppointmentsController.ts
984B
dtos
ICreateAppointmentDTO.ts
88B
services
ListAppointmentsService.spec.ts
945B
CreateAppointmentService.ts
1KB
CreateAppointmentsService.spec.ts
1KB
ListAppointmentsService.ts
634B
users
repositories
fakes
FakeUserTokensRepository.ts
814B
FakeUsersRepository.ts
1KB
IUsersRepository.ts
354B
IUserTokensRepository.ts
224B
infra
typeorm
repositories
UsersRepository.ts
1KB
entities
UserToken.ts
415B
Users.ts
425B
http
routes
users.routes.ts
699B
sessions.routes.ts
275B
controllers
UserAvatarController.ts
608B
UsersController.ts
512B
SessionsController.ts
572B
middlewares
ensureAuthenticated.ts
789B
dtos
ICreateUserDTO.ts
97B
providers
HashProvider
models
IHashProvider.ts
159B
implementations
BCryptHashProvider.ts
405B
fakes
FakeHashProvider.ts
344B
index.ts
268B
services
CreateUserService.ts
1KB
ResetPasswordService.ts
2KB
ResetPasswordService.spec.ts
3KB
UpdateUserAvatarService.ts
1KB
SendForgotPasswordEmail.spec.ts
2KB
AuthenticateUserService.ts
1KB
AuthenticateUserService.spec.ts
2KB
CreateUserService.spec.ts
1KB
UpdateUserAvatarService.spec.ts
2KB
SendForgotPasswordEmail.ts
1KB
tsconfig.json
506B
tmp
.gitkeep
0B
ormconfig.json
376B
.gitignore
57B
yarn.lock
316KB
.eslintignore
24B
.editorconfig
146B
coverage
lcov.info
3KB
lcov-report
favicon.png
540B
prettify.js
17KB
appointments
services
ListAppointmentsService.ts.html
6KB
index.html
5KB
CreateAppointmentService.ts.html
9KB
index.html
5KB
prettify.css
676B
sort-arrow-sprite.png
209B
users
services
CreateUserService.ts.html
9KB
SendForgotPasswordEmail.ts.html
9KB
AuthenticateUserService.ts.html
12KB
ResetPasswordService.ts.html
9KB
index.html
7KB
UpdateUserAvatarService.ts.html
9KB
base.css
5KB
block-navigation.js
2KB
sorter.js
5KB
.vscode
launch.json
509B
暂无评论