https://github.com/dvsa/rsp-cpms-checking-workflow
Polling workflow of CPMS receipts
https://github.com/dvsa/rsp-cpms-checking-workflow
Last synced: 12 months ago
JSON representation
Polling workflow of CPMS receipts
- Host: GitHub
- URL: https://github.com/dvsa/rsp-cpms-checking-workflow
- Owner: dvsa
- License: mit
- Created: 2018-04-04T10:43:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-27T06:24:17.000Z (over 1 year ago)
- Last Synced: 2024-11-27T07:26:37.710Z (over 1 year ago)
- Language: JavaScript
- Size: 2.26 MB
- Stars: 0
- Watchers: 8
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# rsp-cpms-checking-workflow
Polling workflow of CPMS receipts
Triggered from SQS Launched Payments queue
## Run locally
Ensure you have AWS credentials for secrets manager or set secrets in `config.js`
- `nvm use`
- `npm i`
- `npm run start`
## To invoke with a local SQS message
- `cd events`
- `./invoke.sh`
## Package for development
- `npm run build`
## Package for production
- `npm run build:prod`
## To run unit tests
- `npm run test`
## To Lint
- `npm run lint`
## To auto fix linting errors
- `npm run lint:fix`