├── .editorconfig ├── .env.example ├── .eslintignore ├── .eslintrc ├── .github ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── .prettierrc ├── README.md ├── babel.config.js ├── ormconfig.example.json ├── package.json ├── project.md ├── src ├── @types │ └── express │ │ └── index.d.ts ├── config │ ├── auth.ts │ ├── cache.ts │ ├── mail │ │ ├── EtherealMail.ts │ │ ├── HandlebarsMailTemplate.ts │ │ ├── SESMail.ts │ │ └── mail.ts │ └── upload.ts ├── modules │ ├── customers │ │ ├── controllers │ │ │ └── CustomersController.ts │ │ ├── routes │ │ │ └── customers.routes.ts │ │ ├── services │ │ │ ├── CreateCustomerService.ts │ │ │ ├── DeleteCustomerService.ts │ │ │ ├── ListCustomerService.ts │ │ │ ├── ShowCustomerService.ts │ │ │ └── UpdateCustomerService.ts │ │ └── typeorm │ │ │ ├── entities │ │ │ └── Customer.ts │ │ │ └── repositories │ │ │ └── CustomersRepository.ts │ ├── orders │ │ ├── controllers │ │ │ └── OrdersController.ts │ │ ├── routes │ │ │ └── orders.routes.ts │ │ ├── services │ │ │ ├── CreateOrderService.ts │ │ │ └── ShowOrderService.ts │ │ └── typeorm │ │ │ ├── entities │ │ │ ├── Order.ts │ │ │ └── OrdersProducts.ts │ │ │ └── repositories │ │ │ └── OrdersRepository.ts │ ├── products │ │ ├── controllers │ │ │ └── ProductsController.ts │ │ ├── routes │ │ │ └── products.routes.ts │ │ ├── services │ │ │ ├── CreateProductService.ts │ │ │ ├── DeleteProductService.ts │ │ │ ├── ListProductService.ts │ │ │ ├── ShowProductService.ts │ │ │ └── UpdateProductService.ts │ │ └── typeorm │ │ │ ├── entities │ │ │ └── Product.ts │ │ │ └── repositories │ │ │ └── ProductsRepository.ts │ └── users │ │ ├── controllers │ │ ├── ForgotPasswordController.ts │ │ ├── ProfileController.ts │ │ ├── ResetPasswordController.ts │ │ ├── SessionsController.ts │ │ ├── UserAvatarController.ts │ │ └── UsersController.ts │ │ ├── routes │ │ ├── password.routes.ts │ │ ├── profile.routes.ts │ │ ├── sessions.routes.ts │ │ └── users.routes.ts │ │ ├── services │ │ ├── CreateSessionsService.ts │ │ ├── CreateUserService.ts │ │ ├── ListUserService.ts │ │ ├── ResetPasswordService.ts │ │ ├── SendForgotPasswordEmailService.ts │ │ ├── ShowProfileService.ts │ │ ├── UpdateProfileService.ts │ │ └── UpdateUserAvatarService.ts │ │ ├── typeorm │ │ ├── entities │ │ │ ├── User.ts │ │ │ └── UserToken.ts │ │ └── repositories │ │ │ ├── UserTokensRepository.ts │ │ │ └── UsersRepository.ts │ │ └── views │ │ └── forgot_password.hbs └── shared │ ├── cache │ └── RedisCache.ts │ ├── errors │ └── AppError.ts │ ├── http │ ├── middlewares │ │ ├── isAuthenticated.ts │ │ └── rateLimiter.ts │ ├── routes │ │ └── index.ts │ └── server.ts │ ├── providers │ └── StorageProvider │ │ ├── DiskStorageProvider.ts │ │ └── S3StorageProvider.ts │ └── typeorm │ ├── index.ts │ └── migrations │ ├── 1607437608841-CreateProducts.ts │ ├── 1607534203339-CreateUsers.ts │ ├── 1607917238905-CreateUserTokens.ts │ ├── 1608058533060-CreateCustomers.ts │ ├── 1609036872019-CreateOrders.ts │ ├── 1609037132700-AddCustomerIdToOrders.ts │ ├── 1609038202583-CreateOrdersProducts.ts │ ├── 1609038414735-AddOrderIdToOrdersProducts.ts │ └── 1609038674490-AddProductIdToOrdersProducts.ts ├── tsconfig.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | build 4 | /*.js 5 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/babel.config.js -------------------------------------------------------------------------------- /ormconfig.example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/ormconfig.example.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/package.json -------------------------------------------------------------------------------- /project.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/project.md -------------------------------------------------------------------------------- /src/@types/express/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/@types/express/index.d.ts -------------------------------------------------------------------------------- /src/config/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/config/auth.ts -------------------------------------------------------------------------------- /src/config/cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/config/cache.ts -------------------------------------------------------------------------------- /src/config/mail/EtherealMail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/config/mail/EtherealMail.ts -------------------------------------------------------------------------------- /src/config/mail/HandlebarsMailTemplate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/config/mail/HandlebarsMailTemplate.ts -------------------------------------------------------------------------------- /src/config/mail/SESMail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/config/mail/SESMail.ts -------------------------------------------------------------------------------- /src/config/mail/mail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/config/mail/mail.ts -------------------------------------------------------------------------------- /src/config/upload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/config/upload.ts -------------------------------------------------------------------------------- /src/modules/customers/controllers/CustomersController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/customers/controllers/CustomersController.ts -------------------------------------------------------------------------------- /src/modules/customers/routes/customers.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/customers/routes/customers.routes.ts -------------------------------------------------------------------------------- /src/modules/customers/services/CreateCustomerService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/customers/services/CreateCustomerService.ts -------------------------------------------------------------------------------- /src/modules/customers/services/DeleteCustomerService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/customers/services/DeleteCustomerService.ts -------------------------------------------------------------------------------- /src/modules/customers/services/ListCustomerService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/customers/services/ListCustomerService.ts -------------------------------------------------------------------------------- /src/modules/customers/services/ShowCustomerService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/customers/services/ShowCustomerService.ts -------------------------------------------------------------------------------- /src/modules/customers/services/UpdateCustomerService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/customers/services/UpdateCustomerService.ts -------------------------------------------------------------------------------- /src/modules/customers/typeorm/entities/Customer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/customers/typeorm/entities/Customer.ts -------------------------------------------------------------------------------- /src/modules/customers/typeorm/repositories/CustomersRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/customers/typeorm/repositories/CustomersRepository.ts -------------------------------------------------------------------------------- /src/modules/orders/controllers/OrdersController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/orders/controllers/OrdersController.ts -------------------------------------------------------------------------------- /src/modules/orders/routes/orders.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/orders/routes/orders.routes.ts -------------------------------------------------------------------------------- /src/modules/orders/services/CreateOrderService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/orders/services/CreateOrderService.ts -------------------------------------------------------------------------------- /src/modules/orders/services/ShowOrderService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/orders/services/ShowOrderService.ts -------------------------------------------------------------------------------- /src/modules/orders/typeorm/entities/Order.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/orders/typeorm/entities/Order.ts -------------------------------------------------------------------------------- /src/modules/orders/typeorm/entities/OrdersProducts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/orders/typeorm/entities/OrdersProducts.ts -------------------------------------------------------------------------------- /src/modules/orders/typeorm/repositories/OrdersRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/orders/typeorm/repositories/OrdersRepository.ts -------------------------------------------------------------------------------- /src/modules/products/controllers/ProductsController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/products/controllers/ProductsController.ts -------------------------------------------------------------------------------- /src/modules/products/routes/products.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/products/routes/products.routes.ts -------------------------------------------------------------------------------- /src/modules/products/services/CreateProductService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/products/services/CreateProductService.ts -------------------------------------------------------------------------------- /src/modules/products/services/DeleteProductService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/products/services/DeleteProductService.ts -------------------------------------------------------------------------------- /src/modules/products/services/ListProductService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/products/services/ListProductService.ts -------------------------------------------------------------------------------- /src/modules/products/services/ShowProductService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/products/services/ShowProductService.ts -------------------------------------------------------------------------------- /src/modules/products/services/UpdateProductService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/products/services/UpdateProductService.ts -------------------------------------------------------------------------------- /src/modules/products/typeorm/entities/Product.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/products/typeorm/entities/Product.ts -------------------------------------------------------------------------------- /src/modules/products/typeorm/repositories/ProductsRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/products/typeorm/repositories/ProductsRepository.ts -------------------------------------------------------------------------------- /src/modules/users/controllers/ForgotPasswordController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/controllers/ForgotPasswordController.ts -------------------------------------------------------------------------------- /src/modules/users/controllers/ProfileController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/controllers/ProfileController.ts -------------------------------------------------------------------------------- /src/modules/users/controllers/ResetPasswordController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/controllers/ResetPasswordController.ts -------------------------------------------------------------------------------- /src/modules/users/controllers/SessionsController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/controllers/SessionsController.ts -------------------------------------------------------------------------------- /src/modules/users/controllers/UserAvatarController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/controllers/UserAvatarController.ts -------------------------------------------------------------------------------- /src/modules/users/controllers/UsersController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/controllers/UsersController.ts -------------------------------------------------------------------------------- /src/modules/users/routes/password.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/routes/password.routes.ts -------------------------------------------------------------------------------- /src/modules/users/routes/profile.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/routes/profile.routes.ts -------------------------------------------------------------------------------- /src/modules/users/routes/sessions.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/routes/sessions.routes.ts -------------------------------------------------------------------------------- /src/modules/users/routes/users.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/routes/users.routes.ts -------------------------------------------------------------------------------- /src/modules/users/services/CreateSessionsService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/services/CreateSessionsService.ts -------------------------------------------------------------------------------- /src/modules/users/services/CreateUserService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/services/CreateUserService.ts -------------------------------------------------------------------------------- /src/modules/users/services/ListUserService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/services/ListUserService.ts -------------------------------------------------------------------------------- /src/modules/users/services/ResetPasswordService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/services/ResetPasswordService.ts -------------------------------------------------------------------------------- /src/modules/users/services/SendForgotPasswordEmailService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/services/SendForgotPasswordEmailService.ts -------------------------------------------------------------------------------- /src/modules/users/services/ShowProfileService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/services/ShowProfileService.ts -------------------------------------------------------------------------------- /src/modules/users/services/UpdateProfileService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/services/UpdateProfileService.ts -------------------------------------------------------------------------------- /src/modules/users/services/UpdateUserAvatarService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/services/UpdateUserAvatarService.ts -------------------------------------------------------------------------------- /src/modules/users/typeorm/entities/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/typeorm/entities/User.ts -------------------------------------------------------------------------------- /src/modules/users/typeorm/entities/UserToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/typeorm/entities/UserToken.ts -------------------------------------------------------------------------------- /src/modules/users/typeorm/repositories/UserTokensRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/typeorm/repositories/UserTokensRepository.ts -------------------------------------------------------------------------------- /src/modules/users/typeorm/repositories/UsersRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/typeorm/repositories/UsersRepository.ts -------------------------------------------------------------------------------- /src/modules/users/views/forgot_password.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/modules/users/views/forgot_password.hbs -------------------------------------------------------------------------------- /src/shared/cache/RedisCache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/cache/RedisCache.ts -------------------------------------------------------------------------------- /src/shared/errors/AppError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/errors/AppError.ts -------------------------------------------------------------------------------- /src/shared/http/middlewares/isAuthenticated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/http/middlewares/isAuthenticated.ts -------------------------------------------------------------------------------- /src/shared/http/middlewares/rateLimiter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/http/middlewares/rateLimiter.ts -------------------------------------------------------------------------------- /src/shared/http/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/http/routes/index.ts -------------------------------------------------------------------------------- /src/shared/http/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/http/server.ts -------------------------------------------------------------------------------- /src/shared/providers/StorageProvider/DiskStorageProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/providers/StorageProvider/DiskStorageProvider.ts -------------------------------------------------------------------------------- /src/shared/providers/StorageProvider/S3StorageProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/providers/StorageProvider/S3StorageProvider.ts -------------------------------------------------------------------------------- /src/shared/typeorm/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/typeorm/index.ts -------------------------------------------------------------------------------- /src/shared/typeorm/migrations/1607437608841-CreateProducts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/typeorm/migrations/1607437608841-CreateProducts.ts -------------------------------------------------------------------------------- /src/shared/typeorm/migrations/1607534203339-CreateUsers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/typeorm/migrations/1607534203339-CreateUsers.ts -------------------------------------------------------------------------------- /src/shared/typeorm/migrations/1607917238905-CreateUserTokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/typeorm/migrations/1607917238905-CreateUserTokens.ts -------------------------------------------------------------------------------- /src/shared/typeorm/migrations/1608058533060-CreateCustomers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/typeorm/migrations/1608058533060-CreateCustomers.ts -------------------------------------------------------------------------------- /src/shared/typeorm/migrations/1609036872019-CreateOrders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/typeorm/migrations/1609036872019-CreateOrders.ts -------------------------------------------------------------------------------- /src/shared/typeorm/migrations/1609037132700-AddCustomerIdToOrders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/typeorm/migrations/1609037132700-AddCustomerIdToOrders.ts -------------------------------------------------------------------------------- /src/shared/typeorm/migrations/1609038202583-CreateOrdersProducts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/typeorm/migrations/1609038202583-CreateOrdersProducts.ts -------------------------------------------------------------------------------- /src/shared/typeorm/migrations/1609038414735-AddOrderIdToOrdersProducts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/typeorm/migrations/1609038414735-AddOrderIdToOrdersProducts.ts -------------------------------------------------------------------------------- /src/shared/typeorm/migrations/1609038674490-AddProductIdToOrdersProducts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/src/shared/typeorm/migrations/1609038674490-AddProductIdToOrdersProducts.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aluiziodeveloper/api-vendas/HEAD/yarn.lock --------------------------------------------------------------------------------