dr-services-accelerate-payment
v1.6.0
Published
Payment Service - 2.0
Downloads
4
Maintainers
Readme
dr-services-accelerate-payment
Payment Service - 2.0 This service provides access to Payment information from Payment Service 3.0
Run locally
Prequesite:
- SAM Installed
- Nodejs 10.14.1
In order to run this locally, First make sure that you have SAM CLI installed. If you are not sure if you have it installed, you can verify by doing:
- sam --version
You'll need to create an .env
file in the project root with the following keys.
FNI_OAUTH_URL=VALUE
FNI_CLIENT_SECRET=VALUE
FNI_CLIENT_ID=VALUE
FNI_CLIENT_SCOPES=VALUE
Please reach out Horsepower Team member to get these values for the keys
Once you've successfully verified that you have SAM CLI installed, and .env
file created with the proper credentials, then you can run the following command to run the app locally
- npm run start-local
To contribute to Accelerate Payment Service:
As of 08/11/2019, core contributers are:
- Krunal Thakkar
- Esterling Accime
- Julia Finarovsky
- Sam Grayson
- Shawn Tannor
- Laura Beall
Collaboration Rules:
- Two Core Contributors must approve of any PRs; the second approver will merge
- Unit tests are required on logic or orchestration changes.
Contribution Rules:
- PRs need to be submitted by last Friday of sprint to be considered for release
- PRs will be reviewed within 2 business days.
- Add an expected date of deployment in the PR description or a comment (e.g. - deployment to production is Wednesday morning of next iteration; staged Tuesday)
Docker
https://fuel.coxautoinc.com/docs/DOC-120686
File Structure
Resources:
Scripts
start-local
- Runs all checks and starts the API locally
sam-build
- Builds with the SAM cli
sam-build-run
- Builds compiled typescript with Sam cli and runs api
sam-run-local
- Runs api locally without building
check-environment
- Checks for the presence of SAM cli as well as correct node version
check-sam
- Checks for the presence of SAM cli
check-node-version
- Checks for the presence of the correct node version
pretest
- Runs npm build
deploy
- Packages AWS artifacts and deploys
test
- Runs linting and full test suite
specific-test
- Runs linting and runs specific test file specified by TEST=testfilename
test-watch
- Lints, and runs all tests and watches for changes
specific-test-watch
- Lints and runs/watches a specific test file specified by TEST=testfilename
lint
- Runs tslint
tslint-fix
- Runs tslint and attempts to fix errors
build
- Runs gulp to build and compile typescript code
clean
- Runs gulp to clean source code directory
start
- Runs gulp start script
prepackage
- Runs gulp clean and npm build
package
- Packages AWS artifcats