28 Commits

Author SHA1 Message Date
b5d6b4b605 Add blank line for improved readability in docker-compose.yml 2025-08-10 00:55:17 -04:00
051fabf5bb Add test-payments.sh script for simulating payment requests 2025-08-10 00:55:12 -04:00
439ce1bff3 Add MakePaymentToProcessorService for handling payment processing 2025-08-10 00:55:09 -04:00
2bd2d6a5cc Add @nestjs/schedule package and update dependencies in package.json and yarn.lock 2025-08-09 22:37:34 -04:00
2ff84a8450 Add HealthModule to the application module 2025-08-09 22:37:29 -04:00
c9e5fa8c2c Add status and error_message fields to payment_processor table 2025-08-09 22:37:17 -04:00
31edb2cc37 Update default payment processor URL in configuration 2025-08-09 22:37:11 -04:00
6484d0afb4 Add QueueService for managing payment jobs in the payment processing queue 2025-08-09 22:36:59 -04:00
1116181d8c Refactor QueueModule to use PAYMENT_QUEUE constant and update Redis connection settings 2025-08-09 22:36:55 -04:00
f692877e07 Add PAYMENT_QUEUE constant for payment processing queue 2025-08-09 22:36:52 -04:00
f6b560bf86 Refactor Payments module structure and update controller to use new service paths 2025-08-09 22:36:46 -04:00
8d6a8f75ea Add PaymentsService, ProcessPaymentService, and RetryPaymentService for payment processing logic 2025-08-09 22:36:37 -04:00
04b874a3a2 Refactor import paths for PaymentsService to improve module organization 2025-08-09 22:36:31 -04:00
fefa4e2995 Add payment processors for handling payment processing logic 2025-08-09 22:36:26 -04:00
825cdca4a6 Add enums for PaymentStatus and ProcessorType 2025-08-09 22:36:19 -04:00
b6ef03c54d Add status and errorMessage fields to Payment entity 2025-08-09 22:36:13 -04:00
f7f17a07bd Refactor CreatePaymentDto for consistent formatting 2025-08-09 22:36:07 -04:00
aa6860f5d6 Add HealthModule to encapsulate health-related services and dependencies 2025-08-09 22:35:59 -04:00
198563f330 Add unit tests for HealthService 2025-08-09 22:35:52 -04:00
1e629442c3 Add HealthService to perform health checks on payment processors 2025-08-09 22:35:45 -04:00
09e57026fd Add ServiceStatusEnum to define service status states 2025-08-09 22:35:39 -04:00
c50f9c5c4e Add entrypoint script and update docker-compose for service configuration 2025-08-03 21:19:59 -04:00
62f32b830a Add payment module with DTOs, entity, controller, and service 2025-08-03 20:58:56 -04:00
4284ecfca4 Add payment module with DTOs, entity, controller, and service 2025-08-03 20:58:50 -04:00
48c9a6a016 Add configuration, database, and queue modules for application setup 2025-08-03 20:58:42 -04:00
a99d78c4df Initialize NestJS application with core modules, configuration, and basic setup 2025-08-03 20:58:31 -04:00
1d2fdd470b Add unit and e2e tests for PaymentsController, PaymentsService, and AppController 2025-08-03 20:58:02 -04:00
86798bfd42 Add initial Docker setup with API services, database, and Nginx configuration 2025-08-03 20:57:38 -04:00