├── Insomnia_API_GoBarber.json ├── LICENSE ├── README.md ├── assets ├── mobile-appointment.svg ├── mobile-list.svg ├── mobile-login.svg ├── mobile-profile.svg ├── web-dashboard.svg ├── web-login.svg ├── web-profile.svg └── web-signup.svg ├── mobile ├── .buckconfig ├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── __tests__ │ └── App-test.tsx ├── android │ ├── app │ │ ├── _BUCK │ │ ├── build.gradle │ │ ├── build_defs.bzl │ │ ├── debug.keystore │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── debug │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── appgobarber │ │ │ │ └── ReactNativeFlipper.java │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── assets │ │ │ └── fonts │ │ │ │ ├── RobotoSlab-Medium.ttf │ │ │ │ └── RobotoSlab-Regular.ttf │ │ │ ├── java │ │ │ └── com │ │ │ │ └── appgobarber │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── app.json ├── assets │ └── fonts │ │ ├── RobotoSlab-Medium.ttf │ │ └── RobotoSlab-Regular.ttf ├── babel.config.js ├── index.js ├── ios │ ├── Podfile │ ├── appgobarber-tvOS │ │ └── Info.plist │ ├── appgobarber-tvOSTests │ │ └── Info.plist │ ├── appgobarber.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ ├── appgobarber-tvOS.xcscheme │ │ │ └── appgobarber.xcscheme │ ├── appgobarber │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ ├── LaunchScreen.storyboard │ │ └── main.m │ └── appgobarberTests │ │ ├── Info.plist │ │ └── appgobarberTests.m ├── metro.config.js ├── package.json ├── prettier.config.js ├── react-native.config.js ├── src │ ├── @types │ │ └── index.d.ts │ ├── App.tsx │ ├── assets │ │ ├── logo.png │ │ ├── logo@2x.png │ │ └── logo@3x.png │ ├── components │ │ ├── Button │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ └── Input │ │ │ ├── index.tsx │ │ │ └── styles.ts │ ├── hooks │ │ ├── auth.tsx │ │ └── index.tsx │ ├── pages │ │ ├── AppointmentCreated │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── CreateAppointment │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Dashboard │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Profile │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── SignIn │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ └── SignUp │ │ │ ├── index.tsx │ │ │ └── styles.ts │ ├── routes │ │ ├── app.routes.tsx │ │ ├── auth.routes.tsx │ │ └── index.tsx │ ├── services │ │ └── api.ts │ └── utils │ │ └── getValidationErrors.ts ├── tsconfig.json └── yarn.lock ├── server ├── .editorconfig ├── .env.example ├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── jest.config.js ├── package.json ├── prettier.config.js ├── src │ ├── @types │ │ └── express.d.ts │ ├── config │ │ ├── auth.ts │ │ ├── cache.ts │ │ ├── mail.ts │ │ └── upload.ts │ ├── modules │ │ ├── appointments │ │ │ ├── dtos │ │ │ │ ├── ICreateAppointmentDTO.ts │ │ │ │ ├── IFindAllInDayFromProviderDTO.ts │ │ │ │ └── IFindAllInMonthFromProviderDTO.ts │ │ │ ├── infra │ │ │ │ ├── http │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── AppointmentsController.ts │ │ │ │ │ │ ├── ProviderAppointmentsController.ts │ │ │ │ │ │ ├── ProviderDayAvailabilityController.ts │ │ │ │ │ │ ├── ProviderMonthAvailabilityController.ts │ │ │ │ │ │ └── ProvidersController.ts │ │ │ │ │ └── routes │ │ │ │ │ │ ├── appointments.routes.ts │ │ │ │ │ │ └── providers.routes.ts │ │ │ │ └── typeorm │ │ │ │ │ ├── entities │ │ │ │ │ └── Appointment.ts │ │ │ │ │ └── repositories │ │ │ │ │ └── AppointmentsRepository.ts │ │ │ ├── repositories │ │ │ │ ├── IAppointmentsRepository.ts │ │ │ │ └── fakes │ │ │ │ │ └── FakeAppointmentsRepository.ts │ │ │ └── services │ │ │ │ ├── CreateAppointmentService.spec.ts │ │ │ │ ├── CreateAppointmentService.ts │ │ │ │ ├── ListProviderAppointmentsService.spec.ts │ │ │ │ ├── ListProviderAppointmentsService.ts │ │ │ │ ├── ListProviderDayAvailabilityService.spec.ts │ │ │ │ ├── ListProviderDayAvailabilityService.ts │ │ │ │ ├── ListProviderMonthAvailabilityService.spec.ts │ │ │ │ ├── ListProviderMonthAvailabilityService.ts │ │ │ │ ├── ListProvidersService.spec.ts │ │ │ │ └── ListProvidersService.ts │ │ ├── notifications │ │ │ ├── dtos │ │ │ │ └── ICreateNotificationDTO.ts │ │ │ ├── infra │ │ │ │ └── typeorm │ │ │ │ │ ├── repositories │ │ │ │ │ └── NotificationsRepository.ts │ │ │ │ │ └── schemas │ │ │ │ │ └── Notification.ts │ │ │ └── repositories │ │ │ │ ├── INotificationsRepository.ts │ │ │ │ └── fakes │ │ │ │ └── FakeNotificationsRepository.ts │ │ └── users │ │ │ ├── dtos │ │ │ ├── ICreateUserDTO.ts │ │ │ └── IFindAllProvidersDTO.ts │ │ │ ├── infra │ │ │ ├── http │ │ │ │ ├── controllers │ │ │ │ │ ├── ForgotPasswordController.ts │ │ │ │ │ ├── ProfileController.ts │ │ │ │ │ ├── ResetPasswordController.ts │ │ │ │ │ ├── SessionsController.ts │ │ │ │ │ ├── UserAvatarController.ts │ │ │ │ │ └── UsersController.ts │ │ │ │ ├── middlewares │ │ │ │ │ └── ensureAuthenticated.ts │ │ │ │ └── routes │ │ │ │ │ ├── password.routes.ts │ │ │ │ │ ├── profile.routes.ts │ │ │ │ │ ├── sessions.routes.ts │ │ │ │ │ └── users.routes.ts │ │ │ └── typeorm │ │ │ │ ├── entities │ │ │ │ ├── User.ts │ │ │ │ └── UserToken.ts │ │ │ │ └── repositories │ │ │ │ ├── UserTokensRepository.ts │ │ │ │ └── UsersRepository.ts │ │ │ ├── providers │ │ │ ├── HashProvider │ │ │ │ ├── fakes │ │ │ │ │ └── FakeHashProvider.ts │ │ │ │ ├── implementations │ │ │ │ │ └── BCryptHashProvider.ts │ │ │ │ └── models │ │ │ │ │ └── IHashProvider.ts │ │ │ └── index.ts │ │ │ ├── repositories │ │ │ ├── IUserTokensRepository.ts │ │ │ ├── IUsersRepository.ts │ │ │ └── fakes │ │ │ │ ├── FakeUserTokensRepository.ts │ │ │ │ └── FakeUsersRepository.ts │ │ │ ├── services │ │ │ ├── AuthenticateUserService.spec.ts │ │ │ ├── AuthenticateUserService.ts │ │ │ ├── CreateUserService.spec.ts │ │ │ ├── CreateUserService.ts │ │ │ ├── ResetPasswordService.spec.ts │ │ │ ├── ResetPasswordService.ts │ │ │ ├── SendForgotPasswordEmailService.spec.ts │ │ │ ├── SendForgotPasswordEmailService.ts │ │ │ ├── ShowProfileService.spec.ts │ │ │ ├── ShowProfileService.ts │ │ │ ├── UpdateProfileService.spec.ts │ │ │ ├── UpdateProfileService.ts │ │ │ ├── UpdateUserAvatarService.spec.ts │ │ │ └── UpdateUserAvatarService.ts │ │ │ └── views │ │ │ └── forgot_password.hbs │ └── shared │ │ ├── container │ │ ├── index.ts │ │ └── providers │ │ │ ├── CacheProvider │ │ │ ├── fakes │ │ │ │ └── FakeCacheProvider.ts │ │ │ ├── implementations │ │ │ │ └── RedisCacheProvider.ts │ │ │ ├── index.ts │ │ │ └── models │ │ │ │ └── ICacheProvider.ts │ │ │ ├── MailProvider │ │ │ ├── dtos │ │ │ │ └── ISendMailDTO.ts │ │ │ ├── fakes │ │ │ │ └── FakeMailProvider.ts │ │ │ ├── implementations │ │ │ │ ├── EtherealMailProvider.ts │ │ │ │ └── SESMailProvider.ts │ │ │ ├── index.ts │ │ │ └── models │ │ │ │ └── IMailProvider.ts │ │ │ ├── MailTemplateProvider │ │ │ ├── dtos │ │ │ │ └── IParseMailTemplateDTO.ts │ │ │ ├── fakes │ │ │ │ └── FakeMailTemplateProvider.ts │ │ │ ├── implementations │ │ │ │ └── HandlebarsMailTemplateProvider.ts │ │ │ ├── index.ts │ │ │ └── models │ │ │ │ └── IMailTemplateProvider.ts │ │ │ ├── StorageProvider │ │ │ ├── fakes │ │ │ │ └── FakeStorageProvider.ts │ │ │ ├── implementations │ │ │ │ ├── DiskStorageProvider.ts │ │ │ │ └── S3StorageProvider.ts │ │ │ ├── index.ts │ │ │ └── models │ │ │ │ └── IStorageProvider.ts │ │ │ └── index.ts │ │ ├── errors │ │ └── AppError.ts │ │ └── infra │ │ ├── http │ │ ├── middlewares │ │ │ └── rateLimiter.ts │ │ ├── routes │ │ │ └── index.ts │ │ └── server.ts │ │ └── typeorm │ │ ├── index.ts │ │ └── migrations │ │ ├── 1594488908640-CreateAppointments.ts │ │ ├── 1594553549459-CreateUsers.ts │ │ ├── 1594554496488-AlterProviderFieldToProviderId.ts │ │ ├── 1594574377517-AddAvatarFieldToUsers.ts │ │ ├── 1595612135141-CreateUserTokens.ts │ │ └── 1595705851962-AddUserIdToAppointments.ts ├── tmp │ └── .gitkeep ├── tsconfig.json └── yarn.lock └── web ├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── package.json ├── prettier.config.js ├── public ├── index.html └── robots.txt ├── src ├── App.tsx ├── assets │ ├── logo.svg │ ├── sign-in-background.png │ └── sign-up-background.png ├── components │ ├── Button │ │ ├── index.tsx │ │ └── styles.ts │ ├── Input │ │ ├── index.tsx │ │ └── styles.ts │ ├── ToastContainer │ │ ├── Toast │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── index.tsx │ │ └── styles.ts │ └── Tooltip │ │ ├── index.tsx │ │ └── styles.ts ├── hooks │ ├── auth.tsx │ ├── index.tsx │ └── toast.tsx ├── index.tsx ├── pages │ ├── Dashboard │ │ ├── index.tsx │ │ └── styles.ts │ ├── ForgotPassword │ │ ├── index.tsx │ │ └── styles.ts │ ├── Profile │ │ ├── index.tsx │ │ └── styles.ts │ ├── ResetPassword │ │ ├── index.tsx │ │ └── styles.ts │ ├── SignIn │ │ ├── index.tsx │ │ └── styles.ts │ └── SignUp │ │ ├── index.tsx │ │ └── styles.ts ├── react-app-env.d.ts ├── routes │ ├── Route.tsx │ └── index.tsx ├── services │ └── api.ts ├── setupTests.ts ├── styles │ └── global.ts └── utils │ └── getValidationErrors.ts ├── tsconfig.json └── yarn.lock /Insomnia_API_GoBarber.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/Insomnia_API_GoBarber.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/README.md -------------------------------------------------------------------------------- /assets/mobile-appointment.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/assets/mobile-appointment.svg -------------------------------------------------------------------------------- /assets/mobile-list.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/assets/mobile-list.svg -------------------------------------------------------------------------------- /assets/mobile-login.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/assets/mobile-login.svg -------------------------------------------------------------------------------- /assets/mobile-profile.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/assets/mobile-profile.svg -------------------------------------------------------------------------------- /assets/web-dashboard.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/assets/web-dashboard.svg -------------------------------------------------------------------------------- /assets/web-login.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/assets/web-login.svg -------------------------------------------------------------------------------- /assets/web-profile.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/assets/web-profile.svg -------------------------------------------------------------------------------- /assets/web-signup.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/assets/web-signup.svg -------------------------------------------------------------------------------- /mobile/.buckconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/.buckconfig -------------------------------------------------------------------------------- /mobile/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/.editorconfig -------------------------------------------------------------------------------- /mobile/.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/.eslintignore -------------------------------------------------------------------------------- /mobile/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/.eslintrc.json -------------------------------------------------------------------------------- /mobile/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /mobile/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/.gitignore -------------------------------------------------------------------------------- /mobile/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /mobile/__tests__/App-test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/__tests__/App-test.tsx -------------------------------------------------------------------------------- /mobile/android/app/_BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/_BUCK -------------------------------------------------------------------------------- /mobile/android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/build.gradle -------------------------------------------------------------------------------- /mobile/android/app/build_defs.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/build_defs.bzl -------------------------------------------------------------------------------- /mobile/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/debug.keystore -------------------------------------------------------------------------------- /mobile/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /mobile/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /mobile/android/app/src/debug/java/com/appgobarber/ReactNativeFlipper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/debug/java/com/appgobarber/ReactNativeFlipper.java -------------------------------------------------------------------------------- /mobile/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /mobile/android/app/src/main/assets/fonts/RobotoSlab-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/assets/fonts/RobotoSlab-Medium.ttf -------------------------------------------------------------------------------- /mobile/android/app/src/main/assets/fonts/RobotoSlab-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/assets/fonts/RobotoSlab-Regular.ttf -------------------------------------------------------------------------------- /mobile/android/app/src/main/java/com/appgobarber/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/java/com/appgobarber/MainActivity.java -------------------------------------------------------------------------------- /mobile/android/app/src/main/java/com/appgobarber/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/java/com/appgobarber/MainApplication.java -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /mobile/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /mobile/android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/build.gradle -------------------------------------------------------------------------------- /mobile/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/gradle.properties -------------------------------------------------------------------------------- /mobile/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /mobile/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /mobile/android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/gradlew -------------------------------------------------------------------------------- /mobile/android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/gradlew.bat -------------------------------------------------------------------------------- /mobile/android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/android/settings.gradle -------------------------------------------------------------------------------- /mobile/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/app.json -------------------------------------------------------------------------------- /mobile/assets/fonts/RobotoSlab-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/assets/fonts/RobotoSlab-Medium.ttf -------------------------------------------------------------------------------- /mobile/assets/fonts/RobotoSlab-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/assets/fonts/RobotoSlab-Regular.ttf -------------------------------------------------------------------------------- /mobile/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/babel.config.js -------------------------------------------------------------------------------- /mobile/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/index.js -------------------------------------------------------------------------------- /mobile/ios/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/Podfile -------------------------------------------------------------------------------- /mobile/ios/appgobarber-tvOS/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber-tvOS/Info.plist -------------------------------------------------------------------------------- /mobile/ios/appgobarber-tvOSTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber-tvOSTests/Info.plist -------------------------------------------------------------------------------- /mobile/ios/appgobarber.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /mobile/ios/appgobarber.xcodeproj/xcshareddata/xcschemes/appgobarber-tvOS.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber.xcodeproj/xcshareddata/xcschemes/appgobarber-tvOS.xcscheme -------------------------------------------------------------------------------- /mobile/ios/appgobarber.xcodeproj/xcshareddata/xcschemes/appgobarber.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber.xcodeproj/xcshareddata/xcschemes/appgobarber.xcscheme -------------------------------------------------------------------------------- /mobile/ios/appgobarber/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber/AppDelegate.h -------------------------------------------------------------------------------- /mobile/ios/appgobarber/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber/AppDelegate.m -------------------------------------------------------------------------------- /mobile/ios/appgobarber/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /mobile/ios/appgobarber/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber/Images.xcassets/Contents.json -------------------------------------------------------------------------------- /mobile/ios/appgobarber/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber/Info.plist -------------------------------------------------------------------------------- /mobile/ios/appgobarber/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber/LaunchScreen.storyboard -------------------------------------------------------------------------------- /mobile/ios/appgobarber/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarber/main.m -------------------------------------------------------------------------------- /mobile/ios/appgobarberTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarberTests/Info.plist -------------------------------------------------------------------------------- /mobile/ios/appgobarberTests/appgobarberTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/ios/appgobarberTests/appgobarberTests.m -------------------------------------------------------------------------------- /mobile/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/metro.config.js -------------------------------------------------------------------------------- /mobile/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/package.json -------------------------------------------------------------------------------- /mobile/prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/prettier.config.js -------------------------------------------------------------------------------- /mobile/react-native.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/react-native.config.js -------------------------------------------------------------------------------- /mobile/src/@types/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.png'; 2 | -------------------------------------------------------------------------------- /mobile/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/App.tsx -------------------------------------------------------------------------------- /mobile/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/assets/logo.png -------------------------------------------------------------------------------- /mobile/src/assets/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/assets/logo@2x.png -------------------------------------------------------------------------------- /mobile/src/assets/logo@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/assets/logo@3x.png -------------------------------------------------------------------------------- /mobile/src/components/Button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/components/Button/index.tsx -------------------------------------------------------------------------------- /mobile/src/components/Button/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/components/Button/styles.ts -------------------------------------------------------------------------------- /mobile/src/components/Input/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/components/Input/index.tsx -------------------------------------------------------------------------------- /mobile/src/components/Input/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/components/Input/styles.ts -------------------------------------------------------------------------------- /mobile/src/hooks/auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/hooks/auth.tsx -------------------------------------------------------------------------------- /mobile/src/hooks/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/hooks/index.tsx -------------------------------------------------------------------------------- /mobile/src/pages/AppointmentCreated/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/AppointmentCreated/index.tsx -------------------------------------------------------------------------------- /mobile/src/pages/AppointmentCreated/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/AppointmentCreated/styles.ts -------------------------------------------------------------------------------- /mobile/src/pages/CreateAppointment/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/CreateAppointment/index.tsx -------------------------------------------------------------------------------- /mobile/src/pages/CreateAppointment/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/CreateAppointment/styles.ts -------------------------------------------------------------------------------- /mobile/src/pages/Dashboard/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/Dashboard/index.tsx -------------------------------------------------------------------------------- /mobile/src/pages/Dashboard/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/Dashboard/styles.ts -------------------------------------------------------------------------------- /mobile/src/pages/Profile/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/Profile/index.tsx -------------------------------------------------------------------------------- /mobile/src/pages/Profile/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/Profile/styles.ts -------------------------------------------------------------------------------- /mobile/src/pages/SignIn/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/SignIn/index.tsx -------------------------------------------------------------------------------- /mobile/src/pages/SignIn/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/SignIn/styles.ts -------------------------------------------------------------------------------- /mobile/src/pages/SignUp/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/SignUp/index.tsx -------------------------------------------------------------------------------- /mobile/src/pages/SignUp/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/pages/SignUp/styles.ts -------------------------------------------------------------------------------- /mobile/src/routes/app.routes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/routes/app.routes.tsx -------------------------------------------------------------------------------- /mobile/src/routes/auth.routes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/routes/auth.routes.tsx -------------------------------------------------------------------------------- /mobile/src/routes/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/routes/index.tsx -------------------------------------------------------------------------------- /mobile/src/services/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/services/api.ts -------------------------------------------------------------------------------- /mobile/src/utils/getValidationErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/src/utils/getValidationErrors.ts -------------------------------------------------------------------------------- /mobile/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/tsconfig.json -------------------------------------------------------------------------------- /mobile/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/mobile/yarn.lock -------------------------------------------------------------------------------- /server/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/.editorconfig -------------------------------------------------------------------------------- /server/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/.env.example -------------------------------------------------------------------------------- /server/.eslintignore: -------------------------------------------------------------------------------- 1 | /*.js 2 | node_modules 3 | dist 4 | -------------------------------------------------------------------------------- /server/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/.eslintrc.json -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/.gitignore -------------------------------------------------------------------------------- /server/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/jest.config.js -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/package.json -------------------------------------------------------------------------------- /server/prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/prettier.config.js -------------------------------------------------------------------------------- /server/src/@types/express.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/@types/express.d.ts -------------------------------------------------------------------------------- /server/src/config/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/config/auth.ts -------------------------------------------------------------------------------- /server/src/config/cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/config/cache.ts -------------------------------------------------------------------------------- /server/src/config/mail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/config/mail.ts -------------------------------------------------------------------------------- /server/src/config/upload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/config/upload.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/dtos/ICreateAppointmentDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/dtos/ICreateAppointmentDTO.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/dtos/IFindAllInDayFromProviderDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/dtos/IFindAllInDayFromProviderDTO.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/dtos/IFindAllInMonthFromProviderDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/dtos/IFindAllInMonthFromProviderDTO.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/infra/http/controllers/AppointmentsController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/infra/http/controllers/AppointmentsController.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/infra/http/controllers/ProviderAppointmentsController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/infra/http/controllers/ProviderAppointmentsController.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/infra/http/controllers/ProviderDayAvailabilityController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/infra/http/controllers/ProviderDayAvailabilityController.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/infra/http/controllers/ProviderMonthAvailabilityController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/infra/http/controllers/ProviderMonthAvailabilityController.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/infra/http/controllers/ProvidersController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/infra/http/controllers/ProvidersController.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/infra/http/routes/appointments.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/infra/http/routes/appointments.routes.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/infra/http/routes/providers.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/infra/http/routes/providers.routes.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/infra/typeorm/entities/Appointment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/infra/typeorm/entities/Appointment.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/infra/typeorm/repositories/AppointmentsRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/infra/typeorm/repositories/AppointmentsRepository.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/repositories/IAppointmentsRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/repositories/IAppointmentsRepository.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/repositories/fakes/FakeAppointmentsRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/repositories/fakes/FakeAppointmentsRepository.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/services/CreateAppointmentService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/services/CreateAppointmentService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/services/CreateAppointmentService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/services/CreateAppointmentService.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/services/ListProviderAppointmentsService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/services/ListProviderAppointmentsService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/services/ListProviderAppointmentsService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/services/ListProviderAppointmentsService.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/services/ListProviderDayAvailabilityService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/services/ListProviderDayAvailabilityService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/services/ListProviderDayAvailabilityService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/services/ListProviderDayAvailabilityService.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/services/ListProviderMonthAvailabilityService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/services/ListProviderMonthAvailabilityService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/services/ListProviderMonthAvailabilityService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/services/ListProviderMonthAvailabilityService.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/services/ListProvidersService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/services/ListProvidersService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/appointments/services/ListProvidersService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/appointments/services/ListProvidersService.ts -------------------------------------------------------------------------------- /server/src/modules/notifications/dtos/ICreateNotificationDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/notifications/dtos/ICreateNotificationDTO.ts -------------------------------------------------------------------------------- /server/src/modules/notifications/infra/typeorm/repositories/NotificationsRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/notifications/infra/typeorm/repositories/NotificationsRepository.ts -------------------------------------------------------------------------------- /server/src/modules/notifications/infra/typeorm/schemas/Notification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/notifications/infra/typeorm/schemas/Notification.ts -------------------------------------------------------------------------------- /server/src/modules/notifications/repositories/INotificationsRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/notifications/repositories/INotificationsRepository.ts -------------------------------------------------------------------------------- /server/src/modules/notifications/repositories/fakes/FakeNotificationsRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/notifications/repositories/fakes/FakeNotificationsRepository.ts -------------------------------------------------------------------------------- /server/src/modules/users/dtos/ICreateUserDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/dtos/ICreateUserDTO.ts -------------------------------------------------------------------------------- /server/src/modules/users/dtos/IFindAllProvidersDTO.ts: -------------------------------------------------------------------------------- 1 | export default interface IFindAllProvidersDTO { 2 | except_user_id?: string; 3 | } 4 | -------------------------------------------------------------------------------- /server/src/modules/users/infra/http/controllers/ForgotPasswordController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/http/controllers/ForgotPasswordController.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/http/controllers/ProfileController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/http/controllers/ProfileController.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/http/controllers/ResetPasswordController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/http/controllers/ResetPasswordController.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/http/controllers/SessionsController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/http/controllers/SessionsController.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/http/controllers/UserAvatarController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/http/controllers/UserAvatarController.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/http/controllers/UsersController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/http/controllers/UsersController.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/http/middlewares/ensureAuthenticated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/http/middlewares/ensureAuthenticated.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/http/routes/password.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/http/routes/password.routes.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/http/routes/profile.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/http/routes/profile.routes.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/http/routes/sessions.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/http/routes/sessions.routes.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/http/routes/users.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/http/routes/users.routes.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/typeorm/entities/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/typeorm/entities/User.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/typeorm/entities/UserToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/typeorm/entities/UserToken.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/typeorm/repositories/UserTokensRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/typeorm/repositories/UserTokensRepository.ts -------------------------------------------------------------------------------- /server/src/modules/users/infra/typeorm/repositories/UsersRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/infra/typeorm/repositories/UsersRepository.ts -------------------------------------------------------------------------------- /server/src/modules/users/providers/HashProvider/fakes/FakeHashProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/providers/HashProvider/fakes/FakeHashProvider.ts -------------------------------------------------------------------------------- /server/src/modules/users/providers/HashProvider/implementations/BCryptHashProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/providers/HashProvider/implementations/BCryptHashProvider.ts -------------------------------------------------------------------------------- /server/src/modules/users/providers/HashProvider/models/IHashProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/providers/HashProvider/models/IHashProvider.ts -------------------------------------------------------------------------------- /server/src/modules/users/providers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/providers/index.ts -------------------------------------------------------------------------------- /server/src/modules/users/repositories/IUserTokensRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/repositories/IUserTokensRepository.ts -------------------------------------------------------------------------------- /server/src/modules/users/repositories/IUsersRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/repositories/IUsersRepository.ts -------------------------------------------------------------------------------- /server/src/modules/users/repositories/fakes/FakeUserTokensRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/repositories/fakes/FakeUserTokensRepository.ts -------------------------------------------------------------------------------- /server/src/modules/users/repositories/fakes/FakeUsersRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/repositories/fakes/FakeUsersRepository.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/AuthenticateUserService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/AuthenticateUserService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/AuthenticateUserService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/AuthenticateUserService.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/CreateUserService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/CreateUserService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/CreateUserService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/CreateUserService.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/ResetPasswordService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/ResetPasswordService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/ResetPasswordService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/ResetPasswordService.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/SendForgotPasswordEmailService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/SendForgotPasswordEmailService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/SendForgotPasswordEmailService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/SendForgotPasswordEmailService.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/ShowProfileService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/ShowProfileService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/ShowProfileService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/ShowProfileService.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/UpdateProfileService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/UpdateProfileService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/UpdateProfileService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/UpdateProfileService.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/UpdateUserAvatarService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/UpdateUserAvatarService.spec.ts -------------------------------------------------------------------------------- /server/src/modules/users/services/UpdateUserAvatarService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/services/UpdateUserAvatarService.ts -------------------------------------------------------------------------------- /server/src/modules/users/views/forgot_password.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/modules/users/views/forgot_password.hbs -------------------------------------------------------------------------------- /server/src/shared/container/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/index.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/CacheProvider/fakes/FakeCacheProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/CacheProvider/fakes/FakeCacheProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/CacheProvider/implementations/RedisCacheProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/CacheProvider/implementations/RedisCacheProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/CacheProvider/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/CacheProvider/index.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/CacheProvider/models/ICacheProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/CacheProvider/models/ICacheProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/MailProvider/dtos/ISendMailDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/MailProvider/dtos/ISendMailDTO.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/MailProvider/fakes/FakeMailProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/MailProvider/fakes/FakeMailProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/MailProvider/implementations/EtherealMailProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/MailProvider/implementations/EtherealMailProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/MailProvider/implementations/SESMailProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/MailProvider/implementations/SESMailProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/MailProvider/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/MailProvider/index.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/MailProvider/models/IMailProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/MailProvider/models/IMailProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/MailTemplateProvider/dtos/IParseMailTemplateDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/MailTemplateProvider/dtos/IParseMailTemplateDTO.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/MailTemplateProvider/fakes/FakeMailTemplateProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/MailTemplateProvider/fakes/FakeMailTemplateProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/MailTemplateProvider/implementations/HandlebarsMailTemplateProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/MailTemplateProvider/implementations/HandlebarsMailTemplateProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/MailTemplateProvider/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/MailTemplateProvider/index.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/MailTemplateProvider/models/IMailTemplateProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/MailTemplateProvider/models/IMailTemplateProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/StorageProvider/fakes/FakeStorageProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/StorageProvider/fakes/FakeStorageProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/StorageProvider/implementations/DiskStorageProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/StorageProvider/implementations/DiskStorageProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/StorageProvider/implementations/S3StorageProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/StorageProvider/implementations/S3StorageProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/StorageProvider/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/StorageProvider/index.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/StorageProvider/models/IStorageProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/StorageProvider/models/IStorageProvider.ts -------------------------------------------------------------------------------- /server/src/shared/container/providers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/container/providers/index.ts -------------------------------------------------------------------------------- /server/src/shared/errors/AppError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/errors/AppError.ts -------------------------------------------------------------------------------- /server/src/shared/infra/http/middlewares/rateLimiter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/infra/http/middlewares/rateLimiter.ts -------------------------------------------------------------------------------- /server/src/shared/infra/http/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/infra/http/routes/index.ts -------------------------------------------------------------------------------- /server/src/shared/infra/http/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/infra/http/server.ts -------------------------------------------------------------------------------- /server/src/shared/infra/typeorm/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/infra/typeorm/index.ts -------------------------------------------------------------------------------- /server/src/shared/infra/typeorm/migrations/1594488908640-CreateAppointments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/infra/typeorm/migrations/1594488908640-CreateAppointments.ts -------------------------------------------------------------------------------- /server/src/shared/infra/typeorm/migrations/1594553549459-CreateUsers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/infra/typeorm/migrations/1594553549459-CreateUsers.ts -------------------------------------------------------------------------------- /server/src/shared/infra/typeorm/migrations/1594554496488-AlterProviderFieldToProviderId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/infra/typeorm/migrations/1594554496488-AlterProviderFieldToProviderId.ts -------------------------------------------------------------------------------- /server/src/shared/infra/typeorm/migrations/1594574377517-AddAvatarFieldToUsers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/infra/typeorm/migrations/1594574377517-AddAvatarFieldToUsers.ts -------------------------------------------------------------------------------- /server/src/shared/infra/typeorm/migrations/1595612135141-CreateUserTokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/infra/typeorm/migrations/1595612135141-CreateUserTokens.ts -------------------------------------------------------------------------------- /server/src/shared/infra/typeorm/migrations/1595705851962-AddUserIdToAppointments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/src/shared/infra/typeorm/migrations/1595705851962-AddUserIdToAppointments.ts -------------------------------------------------------------------------------- /server/tmp/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/tsconfig.json -------------------------------------------------------------------------------- /server/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/server/yarn.lock -------------------------------------------------------------------------------- /web/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/.editorconfig -------------------------------------------------------------------------------- /web/.eslintignore: -------------------------------------------------------------------------------- 1 | **/*.js 2 | node_modules 3 | build 4 | /src/react-app-env.d.ts 5 | -------------------------------------------------------------------------------- /web/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/.eslintrc.json -------------------------------------------------------------------------------- /web/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/.gitignore -------------------------------------------------------------------------------- /web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/package.json -------------------------------------------------------------------------------- /web/prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/prettier.config.js -------------------------------------------------------------------------------- /web/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/public/index.html -------------------------------------------------------------------------------- /web/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/public/robots.txt -------------------------------------------------------------------------------- /web/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/App.tsx -------------------------------------------------------------------------------- /web/src/assets/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/assets/logo.svg -------------------------------------------------------------------------------- /web/src/assets/sign-in-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/assets/sign-in-background.png -------------------------------------------------------------------------------- /web/src/assets/sign-up-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/assets/sign-up-background.png -------------------------------------------------------------------------------- /web/src/components/Button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/components/Button/index.tsx -------------------------------------------------------------------------------- /web/src/components/Button/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/components/Button/styles.ts -------------------------------------------------------------------------------- /web/src/components/Input/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/components/Input/index.tsx -------------------------------------------------------------------------------- /web/src/components/Input/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/components/Input/styles.ts -------------------------------------------------------------------------------- /web/src/components/ToastContainer/Toast/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/components/ToastContainer/Toast/index.tsx -------------------------------------------------------------------------------- /web/src/components/ToastContainer/Toast/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/components/ToastContainer/Toast/styles.ts -------------------------------------------------------------------------------- /web/src/components/ToastContainer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/components/ToastContainer/index.tsx -------------------------------------------------------------------------------- /web/src/components/ToastContainer/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/components/ToastContainer/styles.ts -------------------------------------------------------------------------------- /web/src/components/Tooltip/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/components/Tooltip/index.tsx -------------------------------------------------------------------------------- /web/src/components/Tooltip/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/components/Tooltip/styles.ts -------------------------------------------------------------------------------- /web/src/hooks/auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/hooks/auth.tsx -------------------------------------------------------------------------------- /web/src/hooks/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/hooks/index.tsx -------------------------------------------------------------------------------- /web/src/hooks/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/hooks/toast.tsx -------------------------------------------------------------------------------- /web/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/index.tsx -------------------------------------------------------------------------------- /web/src/pages/Dashboard/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/Dashboard/index.tsx -------------------------------------------------------------------------------- /web/src/pages/Dashboard/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/Dashboard/styles.ts -------------------------------------------------------------------------------- /web/src/pages/ForgotPassword/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/ForgotPassword/index.tsx -------------------------------------------------------------------------------- /web/src/pages/ForgotPassword/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/ForgotPassword/styles.ts -------------------------------------------------------------------------------- /web/src/pages/Profile/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/Profile/index.tsx -------------------------------------------------------------------------------- /web/src/pages/Profile/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/Profile/styles.ts -------------------------------------------------------------------------------- /web/src/pages/ResetPassword/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/ResetPassword/index.tsx -------------------------------------------------------------------------------- /web/src/pages/ResetPassword/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/ResetPassword/styles.ts -------------------------------------------------------------------------------- /web/src/pages/SignIn/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/SignIn/index.tsx -------------------------------------------------------------------------------- /web/src/pages/SignIn/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/SignIn/styles.ts -------------------------------------------------------------------------------- /web/src/pages/SignUp/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/SignUp/index.tsx -------------------------------------------------------------------------------- /web/src/pages/SignUp/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/pages/SignUp/styles.ts -------------------------------------------------------------------------------- /web/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /web/src/routes/Route.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/routes/Route.tsx -------------------------------------------------------------------------------- /web/src/routes/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/routes/index.tsx -------------------------------------------------------------------------------- /web/src/services/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/services/api.ts -------------------------------------------------------------------------------- /web/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/extend-expect'; 2 | -------------------------------------------------------------------------------- /web/src/styles/global.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/styles/global.ts -------------------------------------------------------------------------------- /web/src/utils/getValidationErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/src/utils/getValidationErrors.ts -------------------------------------------------------------------------------- /web/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/tsconfig.json -------------------------------------------------------------------------------- /web/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasbarzan/gobarber/HEAD/web/yarn.lock --------------------------------------------------------------------------------