├── .env.example ├── .gitignore ├── README.md ├── babel.config.js ├── package.json ├── script └── registerOpenPixWebhook.ts ├── src ├── app.ts ├── config.ts ├── debugConsole.ts ├── index.ts ├── modules │ └── donation │ │ ├── DonationModel.ts │ │ ├── donationGet.ts │ │ └── donationPost.ts ├── mongo.ts ├── openpixApi │ ├── api.ts │ ├── chargeGet.ts │ ├── chargeGetAll.ts │ ├── chargePost.ts │ └── webhookPost.ts └── webhook │ ├── hmacSignature.ts │ ├── verifyPayload.ts │ ├── webhookPost.ts │ ├── webhookValidateAuthorization.ts │ └── webhookValidatePublicKey.ts ├── tsconfig.json ├── webpack.config.js ├── webpack ├── ReloadServerPlugin.js └── webpack.config.js ├── webpackx.ts └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/babel.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/package.json -------------------------------------------------------------------------------- /script/registerOpenPixWebhook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/script/registerOpenPixWebhook.ts -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/debugConsole.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/debugConsole.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/modules/donation/DonationModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/modules/donation/DonationModel.ts -------------------------------------------------------------------------------- /src/modules/donation/donationGet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/modules/donation/donationGet.ts -------------------------------------------------------------------------------- /src/modules/donation/donationPost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/modules/donation/donationPost.ts -------------------------------------------------------------------------------- /src/mongo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/mongo.ts -------------------------------------------------------------------------------- /src/openpixApi/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/openpixApi/api.ts -------------------------------------------------------------------------------- /src/openpixApi/chargeGet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/openpixApi/chargeGet.ts -------------------------------------------------------------------------------- /src/openpixApi/chargeGetAll.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/openpixApi/chargeGetAll.ts -------------------------------------------------------------------------------- /src/openpixApi/chargePost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/openpixApi/chargePost.ts -------------------------------------------------------------------------------- /src/openpixApi/webhookPost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/openpixApi/webhookPost.ts -------------------------------------------------------------------------------- /src/webhook/hmacSignature.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/webhook/hmacSignature.ts -------------------------------------------------------------------------------- /src/webhook/verifyPayload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/webhook/verifyPayload.ts -------------------------------------------------------------------------------- /src/webhook/webhookPost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/webhook/webhookPost.ts -------------------------------------------------------------------------------- /src/webhook/webhookValidateAuthorization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/webhook/webhookValidateAuthorization.ts -------------------------------------------------------------------------------- /src/webhook/webhookValidatePublicKey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/src/webhook/webhookValidatePublicKey.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/webpack.config.js -------------------------------------------------------------------------------- /webpack/ReloadServerPlugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/webpack/ReloadServerPlugin.js -------------------------------------------------------------------------------- /webpack/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/webpack/webpack.config.js -------------------------------------------------------------------------------- /webpackx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/webpackx.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/woovibr/node-backend-integration/HEAD/yarn.lock --------------------------------------------------------------------------------