Deploy Application / deploy (push) Failing after 34sDetails
- Added JWT_SECRET to docker-compose for JWT signing.
- Updated package.json and package-lock.json to include jsonwebtoken and its types.
- Implemented JWT creation and verification functions in auth middleware.
- Enhanced payment middleware to validate JWT and traditional tokens.
- Introduced signatureTransaction and signatureAuth endpoints in paymentVAController.
- Added signature verification logic in paymentAuth middleware.
- Created verifySignatureV2 function for signature validation using public keys.
- Updated routes to include new payment-related endpoints.
- Added postPayment.ts for handling Mandiri payment requests.
- Introduced stringifyMandiri.ts for stable stringification and hashing of request data.
- Created verifySignature.ts to validate signatures for transactions and general requests.
- Implemented dbPools.ts and dbQueryClient.ts for efficient database connection pooling and querying.
- Added formatTimestamp.ts for consistent timestamp formatting.
- Developed gate.ts and gateClient.ts for dynamic handler invocation based on client actions.
- Introduced getCBPartnerVA.ts for fetching business partner details from the database.
- Re-exported lodash as a shorthand for easier usage across the project.
- Created signature.ts for HMAC and RSA signature verification utilities.
- Added middleware for authentication and virtual account verification (vaAuth.ts).
- Set up Prisma client in prisma.ts for database interactions.
- Established routes in index.ts for various API endpoints including authentication, file uploads, and Mandiri payment processing.
- Defined custom request and response types in index.ts for better type safety.
- Configured TypeScript settings in tsconfig.json for improved development experience.
- Added various binary files for report templates and certificates in uploads directory.